diff options
Diffstat (limited to 'intern/moto/include/MT_Vector4.inl')
-rw-r--r-- | intern/moto/include/MT_Vector4.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/moto/include/MT_Vector4.inl b/intern/moto/include/MT_Vector4.inl index 1196745e4be..5b6e6766416 100644 --- a/intern/moto/include/MT_Vector4.inl +++ b/intern/moto/include/MT_Vector4.inl @@ -48,7 +48,7 @@ GEN_INLINE MT_Scalar MT_Vector4::dot(const MT_Vector4& v) const { } GEN_INLINE MT_Scalar MT_Vector4::length2() const { return MT_dot(*this, *this); } -GEN_INLINE MT_Scalar MT_Vector4::length() const { return sqrt(length2()); } +GEN_INLINE MT_Scalar MT_Vector4::length() const { return sqrtf(length2()); } GEN_INLINE MT_Vector4 MT_Vector4::absolute() const { return MT_Vector4(MT_abs(m_co[0]), MT_abs(m_co[1]), MT_abs(m_co[2]), MT_abs(m_co[3])); |