summaryrefslogtreecommitdiff
path: root/indra/newview/gltf/llgltfloader.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-06-10 14:28:07 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-06-10 19:48:29 +0300
commit4bbd6319c7db61d12a2a14c5f6f4bc6d6b5e0645 (patch)
treeb24cb54bcbf2ca6d52194d133e5b88c8603b6f65 /indra/newview/gltf/llgltfloader.h
parentb4fb66c4a2173b2faf717880f0084381f2055cca (diff)
#4148 Skeleton Translation #2
Diffstat (limited to 'indra/newview/gltf/llgltfloader.h')
-rw-r--r--indra/newview/gltf/llgltfloader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/gltf/llgltfloader.h b/indra/newview/gltf/llgltfloader.h
index 41e6a2dd6d..50a63c1cd8 100644
--- a/indra/newview/gltf/llgltfloader.h
+++ b/indra/newview/gltf/llgltfloader.h
@@ -156,6 +156,7 @@ protected:
bool mGltfLoaded;
bool mMeshesLoaded;
bool mMaterialsLoaded;
+ bool mApplyXYRotation = false;
U32 mGeneratedModelLimit;
std::vector<gltf_mesh> mMeshes;
@@ -190,6 +191,8 @@ private:
S32 findParentNode(S32 node) const;
glm::mat4 buildGltfRestMatrix(S32 joint_node_index, const LL::GLTF::Skin& gltf_skin) const;
glm::mat4 computeGltfToViewerSkeletonTransform(const LL::GLTF::Skin& gltf_skin, S32 joint_index, const std::string& joint_name) const;
+ bool checkForXYrotation(const LL::GLTF::Skin& gltf_skin, S32 joint_idx, S32 bind_indx);
+ void checkForXYrotation(const LL::GLTF::Skin& gltf_skin);
LLUUID imageBufferToTextureUUID(const gltf_texture& tex);
void notifyUnsupportedExtension(bool unsupported);