Fix updating of vertex normals for animated meshes (#77)

Updates cached positions and normals of animated vertices
from the mesh. Useful when using meshManipulator to update
the normals.
This commit is contained in:
x2048
2021-11-16 12:30:31 +01:00
committed by GitHub
parent 81bae5b717
commit 39cad3e618
4 changed files with 28 additions and 0 deletions

View File

@ -79,6 +79,9 @@ namespace scene
/* This feature is not implemented in Irrlicht yet */
virtual bool setHardwareSkinning(bool on) = 0;
//! Refreshes vertex data cached in joints such as positions and normals
virtual void refreshJointCache() = 0;
//! A vertex weight
struct SWeight
{