diff --git a/intern/mikktspace/mikk_float3.hh b/intern/mikktspace/mikk_float3.hh index b0b34e9fde3..ca627f40561 100644 --- a/intern/mikktspace/mikk_float3.hh +++ b/intern/mikktspace/mikk_float3.hh @@ -64,7 +64,7 @@ struct float3 { float length() const { - return sqrt(length_squared()); + return sqrtf(length_squared()); } static float distance(const float3 &a, const float3 &b)