Change remainder func in vec_norm
remainderf -> remainder
This commit is contained in:
parent
77e8b04214
commit
d5cfc33837
|
@ -135,8 +135,8 @@ void vec_clamp(vec3_t v) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void vec_norm(vec3_t v) {
|
void vec_norm(vec3_t v) {
|
||||||
v.x = isfinite(v.x) ? remainderf(v.x, 360.0f) : 0.0f;
|
v.x = isfinite(v.x) ? remainder(v.x, 360) : 0;
|
||||||
v.y = isfinite(v.y) ? remainderf(v.y, 360.0f) : 0.0f;
|
v.y = isfinite(v.y) ? remainder(v.y, 360) : 0;
|
||||||
v.z = 0.0f;
|
v.z = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue