1
0
镜像自地址 https://github.com/minetest/irrlicht.git 已同步 2025-07-02 08:10:26 +02:00

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.
这个提交包含在:
x2048
2021-11-16 12:30:31 +01:00
提交者 GitHub
父节点 81bae5b717
当前提交 39cad3e618
共有 4 个文件被更改,包括 28 次插入0 次删除

查看文件

@ -113,6 +113,9 @@ namespace scene
//! (This feature is not implemented in irrlicht yet)
virtual bool setHardwareSkinning(bool on) _IRR_OVERRIDE_;
//! Refreshes vertex data cached in joints such as positions and normals
virtual void refreshJointCache() _IRR_OVERRIDE_;
//Interface for the mesh loaders (finalize should lock these functions, and they should have some prefix like loader_
//these functions will use the needed arrays, set values, etc to help the loaders