]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Entity.hpp
fix serverside player orientation
[blank.git] / src / world / Entity.hpp
index 2a4ef89093ff848556841669839c95965f7614e3..3bcc21f65f2573a456d094bb3a0656c1b1001e99 100644 (file)
@@ -77,6 +77,7 @@ public:
        }
 
        /// orientation of local coordinate system
+       void Orientation(const glm::quat &o) noexcept { state.orient = o; }
        const glm::quat &Orientation() const noexcept { return state.orient; }
 
        /// orientation of head within local coordinate system, in radians