From b0fdca60cd81078403e5d81aef7ccf3dea5bcfc0 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 4 Jun 2024 14:27:17 +0200 Subject: [PATCH] Cleanup: Mikktspace: use sqrtf() function with float type Pull Request: https://projects.blender.org/blender/blender/pulls/121703 --- intern/mikktspace/mikk_float3.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)