From dd64b2c58e3b26edf36f784a29106eaf6ec92d6c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 2 May 2019 21:34:56 -0700 Subject: Update GLTF loader; fixed warning in KTX loader --- AssetLoader/src/GLTFLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AssetLoader/src/GLTFLoader.cpp') 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 -- cgit v1.2.3