Cleanup: Mikktspace: use sqrtf() function with float type
Pull Request: https://projects.blender.org/blender/blender/pulls/121703
This commit is contained in:
parent
cc0d12dd20
commit
b0fdca60cd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user