Skip to content

Commit

Permalink
Fix #38: Switch documentation of rotation and uvOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Dec 12, 2023
1 parent 0c40205 commit 0d02611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fastgltf/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1440,12 +1440,12 @@ namespace fastgltf {
*/
struct TextureTransform {
/**
* The offset of the UV coordinate origin as a factor of the texture dimensions.
* Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise.
*/
num rotation;

/**
* Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise.
* The offset of the UV coordinate origin as a factor of the texture dimensions.
*/
std::array<num, 2> uvOffset;

Expand Down

0 comments on commit 0d02611

Please sign in to comment.