Improved KeyframeMesh AABB support
When you use KeyframeMesh::SetPosition(frame, vertex, pos), it will now invalidate the frame AABB. Finish() method will now generate automatically invalid AABBs before interpolating Former-commit-id: aa4695cee635da73e4a3b70ce22e83b1c3f443f9
This commit is contained in:
@@ -26,6 +26,8 @@ class NAZARA_API NzKeyframeMesh final : public NzSubMesh
|
||||
|
||||
void Finish();
|
||||
|
||||
void GenerateAABBs();
|
||||
|
||||
const NzAxisAlignedBox& GetAABB() const override;
|
||||
nzAnimationType GetAnimationType() const override;
|
||||
unsigned int GetFrameCount() const;
|
||||
|
||||
Reference in New Issue
Block a user