mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Don't recalculate meshnode normals unnecessarily
This commit is contained in:
parent
eb6731bdc6
commit
21437090b8
4 changed files with 23 additions and 18 deletions
|
@ -68,7 +68,7 @@ void setMeshColorByNormal(scene::IMesh *mesh, const v3f &normal,
|
|||
Rotate the mesh by 6d facedir value.
|
||||
Method only for meshnodes, not suitable for entities.
|
||||
*/
|
||||
void rotateMeshBy6dFacedir(scene::IMesh *mesh, int facedir);
|
||||
void rotateMeshBy6dFacedir(scene::IMesh *mesh, u8 facedir);
|
||||
|
||||
/*
|
||||
Rotate the mesh around the axis and given angle in degrees.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue