sky0f122ce8: Remove useless sqrtf as the result tends towards 1.0f

This commit is contained in:
Alexandre-Xavier Labonté-Lamoureux 2022-11-10 18:15:37 -05:00
parent a914ba4168
commit 0bc2c5a53e
1 changed files with 1 additions and 1 deletions

View File

@ -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)