Add world orientation

This commit is contained in:
Pascal Serrarens 2024-08-22 15:02:12 +02:00
parent f06eeb71ec
commit 28340b1620

View File

@ -47,6 +47,7 @@ class Thing {
/// @remark When this Thing has a parent, the orientation is relative to the /// @remark When this Thing has a parent, the orientation is relative to the
/// parent's orientation /// parent's orientation
Quaternion orientation; Quaternion orientation;
Quaternion worldOrientation;
/// @brief Sets the parent Thing /// @brief Sets the parent Thing
/// @param parent The Thing which should become the parnet /// @param parent The Thing which should become the parnet