From 0d02611ddfc9e67cfde8158ee8099163ffd29f7a Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 12 Dec 2023 16:20:09 +0100 Subject: [PATCH] Fix #38: Switch documentation of rotation and uvOffset --- include/fastgltf/types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fastgltf/types.hpp b/include/fastgltf/types.hpp index e2f43a6f4..0b2b70c24 100644 --- a/include/fastgltf/types.hpp +++ b/include/fastgltf/types.hpp @@ -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 uvOffset;