Reset mesh animation state before recalculating normals (#90)

This commit is contained in:
x2048
2022-01-02 20:41:03 +01:00
committed by GitHub
parent 52e03a8485
commit 2fec5e5dd3
4 changed files with 30 additions and 0 deletions

View File

@ -82,6 +82,9 @@ namespace scene
//! Refreshes vertex data cached in joints such as positions and normals
virtual void refreshJointCache() = 0;
//! Moves the mesh into static position.
virtual void resetAnimation() = 0;
//! A vertex weight
struct SWeight
{