mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Degrotate support for mesh nodes (#7840)
This commit is contained in:
@@ -240,6 +240,9 @@ struct MapNode
|
||||
u8 getWallMounted(const NodeDefManager *nodemgr) const;
|
||||
v3s16 getWallMountedDir(const NodeDefManager *nodemgr) const;
|
||||
|
||||
/// @returns Rotation in range 0–239 (in 1.5° steps)
|
||||
u8 getDegRotate(const NodeDefManager *nodemgr) const;
|
||||
|
||||
void rotateAlongYAxis(const NodeDefManager *nodemgr, Rotation rot);
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user