New game interface
This commit is contained in:
1 parent
0dce84459e
commit
9e1e4076f0
91 files changed
+268
-21014
No files matched your search
@@ -72,7 +72,7 @@ static inline Vector toRotator(const Quaternion &other)
|
||||
const float yawX = (1.f - 2.f * (square(other.y) + square(other.z)));
|
||||
|
||||
const float SINGULARITY_THRESHOLD = 0.4999995f;
|
||||
const float RAD_TO_DEG = (180.f) / glm::pi<float>();
|
||||
constexpr const float RAD_TO_DEG = (180.f) / glm::pi<float>();
|
||||
Vector rotatorFromQuat;
|
||||
|
||||
if (singularityTest < -SINGULARITY_THRESHOLD)
|
||||
|
||||
Reference in new issue
Block a user