diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 23:27:17 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 23:27:17 +0000 |
| commit | d9aa9669f8886ebe64c9d93e0ce29006ce8e0c28 (patch) | |
| tree | ca14730c14316227cf239f00a0da19d081e2b22d /AssetLoader/src/GLTFLoader.cpp | |
| parent | GLTF loader: setting default normal to (0,0,0) so that the shdare can compute... (diff) | |
| download | DiligentTools-d9aa9669f8886ebe64c9d93e0ce29006ce8e0c28.tar.gz DiligentTools-d9aa9669f8886ebe64c9d93e0ce29006ce8e0c28.zip | |
Fixed a couple of Mac build problems
Diffstat (limited to 'AssetLoader/src/GLTFLoader.cpp')
| -rw-r--r-- | AssetLoader/src/GLTFLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AssetLoader/src/GLTFLoader.cpp b/AssetLoader/src/GLTFLoader.cpp index c6151f3..5fdc2a3 100644 --- a/AssetLoader/src/GLTFLoader.cpp +++ b/AssetLoader/src/GLTFLoader.cpp @@ -145,7 +145,7 @@ void Node::Update() { // Update join matrices auto InverseTransform = Mesh->Transforms.matrix.Inverse(); // TODO: do not use inverse tranform here - size_t numJoints = std::min((uint32_t)Skin->Joints.size(), Mesh::TransformData::MaxNumJoints); + size_t numJoints = std::min((uint32_t)Skin->Joints.size(), Uint32{Mesh::TransformData::MaxNumJoints}); for (size_t i = 0; i < numJoints; i++) { auto* JointNode = Skin->Joints[i]; |
