diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2018-08-27 16:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 16:18:09 +0200 |
commit | 78bb53f85d97d3a5b66d9005732c3c07c1f0e636 (patch) | |
tree | a807e66bdab3822c5b6955b9079795f3f8d4943e /core | |
parent | 35fbb11cec6d4048704afe566d4e12563bd9fbc3 (diff) | |
parent | a94168459004e93a9c9431d29bac04fec3850631 (diff) |
Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat
[Mono] Quat - add some missing constructors and methods
Diffstat (limited to 'core')
-rw-r--r-- | core/math/quat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quat.cpp b/core/math/quat.cpp index 67c9048a41..2251571146 100644 --- a/core/math/quat.cpp +++ b/core/math/quat.cpp @@ -134,7 +134,7 @@ Quat Quat::normalized() const { } bool Quat::is_normalized() const { - return Math::is_equal_approx(length(), 1.0); + return Math::is_equal_approx(length_squared(), 1.0); } Quat Quat::inverse() const { |