Replaced fabs with fabsf where appropriate

This commit is contained in:
korenkonder
2023-10-08 17:32:03 +03:00
parent 75926d538a
commit fde41a7b4a
7 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -2097,7 +2097,7 @@ inline void mat4_get_rotation(const mat4* x, vec3* z) {
else
z->y = asinf(-x->row0.z);
if (fabs(x->row0.z) < 0.99999899f) {
if (fabsf(x->row0.z) < 0.99999899f) {
z->x = atan2f(x->row1.z, x->row2.z);
z->z = atan2f(x->row0.y, x->row0.x);
}