mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
use reciprocal multiply as seen in many other lines of rewrite
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user