Change remainder func in vec_norm

remainderf -> remainder
This commit is contained in:
8dcc 2023-07-30 15:07:40 +02:00
parent 77e8b04214
commit d5cfc33837
1 changed files with 2 additions and 2 deletions

View File

@ -135,8 +135,8 @@ void vec_clamp(vec3_t v) {
}
void vec_norm(vec3_t v) {
v.x = isfinite(v.x) ? remainderf(v.x, 360.0f) : 0.0f;
v.y = isfinite(v.y) ? remainderf(v.y, 360.0f) : 0.0f;
v.x = isfinite(v.x) ? remainder(v.x, 360) : 0;
v.y = isfinite(v.y) ? remainder(v.y, 360) : 0;
v.z = 0.0f;
}