diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-03 04:34:56 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-03 04:34:56 +0000 |
| commit | dd64b2c58e3b26edf36f784a29106eaf6ec92d6c (patch) | |
| tree | 6cd0d678a218e537cc2cb8bdb753f56fb87c5205 /AssetLoader/src/GLTFLoader.cpp | |
| parent | GLTF Loader: fixed transforms (diff) | |
| download | DiligentTools-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.cpp | 2 |
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 |
