Skip to content

Commit 4c0da88

Browse files
committed
adjust to comments
1 parent 4fdfb15 commit 4c0da88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/nbl/builtin/hlsl/surface_transform.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ inline float32_t2x2 transformMatrix(const FLAG_BITS transform)
6565
return float32_t2x2(_nan,_nan,_nan,_nan);
6666
}
6767

68-
//! [width,height] might switch to [height, width] in orientations such as 90CW
68+
//! [width,height] might switch to [height, width] in orientations such as 90° CW
6969
//! Usecase: Find out how big the viewport has to be after or before a tranform is applied
7070
inline uint16_t2 transformedExtents(const FLAG_BITS transform, const uint16_t2 screenSize)
7171
{
@@ -94,7 +94,7 @@ inline float transformedAspectRatio(const FLAG_BITS transform, const uint16_t2 s
9494
}
9595

9696
//! Use this function to apply the INVERSE of swapchain tranformation to the screenspace coordinate `coord`
97-
//! For example when the device orientation is 90CW then this transforms the point 90CCW.
97+
//! For example when the device orientation is 90° CW then this transforms the point 90° CCW.
9898
//! Usecase = [Gather]:
9999
//! Applications such as raytracing in shaders where you would want to generate rays from screen space coordinates.
100100
//! Warnings:

0 commit comments

Comments
 (0)