1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-17 21:35:11 +00:00

RADF_TO_BINANG -> RAD_TO_BINANG

This commit is contained in:
Dragorn421 2022-04-03 21:16:17 +02:00
parent a5bae4ea01
commit aff0379da7
No known key found for this signature in database
GPG key ID: C182A3A3996E8201
46 changed files with 118 additions and 118 deletions

View file

@ -27,7 +27,7 @@ f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw) {
dx = pointPos->x - actor->world.pos.x;
dz = pointPos->z - actor->world.pos.z;
*yaw = RADF_TO_BINANG(Math_FAtan2F(dx, dz));
*yaw = RAD_TO_BINANG(Math_FAtan2F(dx, dz));
return SQ(dx) + SQ(dz);
}