use reciprocal multiply as seen in many other lines of rewrite

This commit is contained in:
jnmartin84
2025-04-13 10:09:56 -04:00
parent 4e4a5c18d0
commit c2efcf41f4
+1 -1
View File
@@ -630,7 +630,7 @@ static bool vec3_is_on_face(vec3_t pos, track_face_t *face, float alpha) {
vec3_angle(vec3, vec1) +
vec3_angle(vec1, vec0);
return (angle > ((30000/32767) * M_PI * 2));
return (angle > (0.91552734375 * M_PI * 2));
}
void ship_resolve_wing_collision(ship_t *self, track_face_t *face, float direction) {