diff options
Diffstat (limited to 'AssetLoader/interface')
| -rw-r--r-- | AssetLoader/interface/GLTFLoader.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/AssetLoader/interface/GLTFLoader.hpp b/AssetLoader/interface/GLTFLoader.hpp index b9096d9..e3e9ed0 100644 --- a/AssetLoader/interface/GLTFLoader.hpp +++ b/AssetLoader/interface/GLTFLoader.hpp @@ -144,8 +144,8 @@ struct Mesh std::vector<std::unique_ptr<Primitive>> Primitives; BoundBox BB; - BoundBox AABB; - bool IsValidBB = false; + + bool IsValidBB = false; struct TransformData { @@ -256,7 +256,9 @@ struct Model RefCntAutoPtr<IBuffer> pIndexBuffer; Uint32 IndexCount = 0; - float4x4 aabb; + /// Transformation matrix that transforms unit cube [0,1]x[0,1]x[0,1] into + /// axis-aligned bounding box in model space. + float4x4 AABBTransform; std::vector<std::unique_ptr<Node>> Nodes; std::vector<Node*> LinearNodes; |
