mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-11 16:48:24 +03:00
Replaced fabs with fabsf where appropriate
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user