summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llgltfmaterial.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2022-10-31 09:42:27 -0700
committerCosmic Linden <cosmic@lindenlab.com>2022-11-02 12:55:18 -0700
commit9e7b725c15ea0bfea5246eb81dd7a100b7ac5b6b (patch)
treebbc065c955992f45933c0f9d83d61761121d589f /indra/llprimitive/llgltfmaterial.h
parentd042ad67ed4db72bf0265804e26610e565f15cf2 (diff)
SL-18485: Render GLTF materials with extension KHR_texture_transform with approprate texture transforms
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.h')
-rw-r--r--indra/llprimitive/llgltfmaterial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h
index 9489837de7..60116fd423 100644
--- a/indra/llprimitive/llgltfmaterial.h
+++ b/indra/llprimitive/llgltfmaterial.h
@@ -28,6 +28,7 @@
#include "llrefcount.h"
#include "llmemory.h"
+#include "m3math.h"
#include "v4color.h"
#include "v3color.h"
#include "v2math.h"
@@ -53,6 +54,8 @@ public:
LLVector2 mOffset = { 0.f, 0.f };
LLVector2 mScale = { 1.f, 1.f };
F32 mRotation = 0.f;
+
+ LLMatrix3 asMatrix();
};
enum AlphaMode