From 668caa778bc2b2fbd21bf5a3cf1fa4e5535125fb Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 10 Jan 2021 17:36:50 -0800 Subject: Few minor updates to GLTF loader --- AssetLoader/interface/GLTFLoader.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'AssetLoader/interface') diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp index 0d5a7fd..50a2f4d 100644 --- a/AssetLoader/interface/GLTFLoader.hpp +++ b/AssetLoader/interface/GLTFLoader.hpp @@ -204,7 +204,7 @@ struct Mesh TransformData Transforms; - Mesh(IRenderDevice* pDevice, const float4x4& matrix); + Mesh(const float4x4& matrix); }; @@ -449,8 +449,7 @@ private: IDeviceContext* pContext, const CreateInfo& CI); - void LoadNode(IRenderDevice* pDevice, - Node* parent, + void LoadNode(Node* parent, const tinygltf::Node& gltf_node, uint32_t nodeIndex, const tinygltf::Model& gltf_model, -- cgit v1.2.3