mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 07:18:42 +00:00
add rotation behavior logic (not working correctly for multiple axes)
This commit is contained in:
@@ -110,6 +110,18 @@ public:
|
||||
|
||||
[[nodiscard]] Vector3 GetEulerAngles() const;
|
||||
|
||||
NiQuaternion operator*(const float scalar) const noexcept;
|
||||
|
||||
NiQuaternion operator*(const NiQuaternion& q) const noexcept;
|
||||
NiQuaternion operator/(const float& q) const noexcept;
|
||||
NiQuaternion& operator*=(const NiQuaternion& q) noexcept;
|
||||
float Dot(const NiQuaternion& q) const noexcept;
|
||||
void Inverse() noexcept;
|
||||
void Conjugate() noexcept;
|
||||
NiQuaternion Diff(const NiQuaternion& q) const noexcept;
|
||||
|
||||
void Normalize();
|
||||
|
||||
// MARK: Operators
|
||||
|
||||
//! Operator to check for equality
|
||||
|
Reference in New Issue
Block a user