mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-05 11:17:23 -04:00
sky0f122ce8: Remove useless sqrtf as the result tends towards 1.0f
This commit is contained in:
+1
-1
@@ -1334,7 +1334,7 @@ bool sky0f122ce8(struct skything38 *arg0, struct skything38 *arg1)
|
||||
f32 f0 = arg0->unk28 - arg1->unk28;
|
||||
f32 f2 = arg0->unk2c - arg1->unk2c;
|
||||
|
||||
return sqrtf(f0 * f0 + f2 * f2) < 1.0f ? true : false;
|
||||
return f0 * f0 + f2 * f2 < 1.0f ? true : false;
|
||||
}
|
||||
|
||||
Gfx *sky0f122d4c(Gfx *gdl, struct skything38 *arg1, struct skything38 *arg2, struct skything38 *arg3, f32 arg4, bool textured)
|
||||
|
||||
Reference in New Issue
Block a user