diff options
Diffstat (limited to 'core/math/quat.h')
-rw-r--r-- | core/math/quat.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/math/quat.h b/core/math/quat.h index 1ca6fe7ce3..64d0f00912 100644 --- a/core/math/quat.h +++ b/core/math/quat.h @@ -149,7 +149,6 @@ public: z = 0; w = 0; } else { - real_t s = Math::sqrt((1.0 + d) * 2.0); real_t rs = 1.0 / s; @@ -191,7 +190,6 @@ void Quat::operator*=(const real_t &s) { } void Quat::operator/=(const real_t &s) { - *this *= 1.0 / s; } |