summaryrefslogtreecommitdiffstats
path: root/AssetLoader/src/GLTFLoader.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-05-03 04:34:56 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-05-03 04:34:56 +0000
commitdd64b2c58e3b26edf36f784a29106eaf6ec92d6c (patch)
tree6cd0d678a218e537cc2cb8bdb753f56fb87c5205 /AssetLoader/src/GLTFLoader.cpp
parentGLTF Loader: fixed transforms (diff)
downloadDiligentTools-dd64b2c58e3b26edf36f784a29106eaf6ec92d6c.tar.gz
DiligentTools-dd64b2c58e3b26edf36f784a29106eaf6ec92d6c.zip
Update GLTF loader; fixed warning in KTX loader
Diffstat (limited to 'AssetLoader/src/GLTFLoader.cpp')
-rw-r--r--AssetLoader/src/GLTFLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AssetLoader/src/GLTFLoader.cpp b/AssetLoader/src/GLTFLoader.cpp
index 56461da..e31400c 100644
--- a/AssetLoader/src/GLTFLoader.cpp
+++ b/AssetLoader/src/GLTFLoader.cpp
@@ -122,7 +122,7 @@ void Mesh::SetBoundingBox(const float3& min, const float3& max)
float4x4 Node::LocalMatrix()const
{
- return Matrix * float4x4::Scale(Scale) * Rotation.ToMatrix() * float4x4::TranslationD3D(Translation);
+ return Matrix * float4x4::Scale(Scale) * Rotation.ToMatrix() * float4x4::Translation(Translation);
}
float4x4 Node::GetMatrix()const