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:
parent
a5bae4ea01
commit
aff0379da7
46 changed files with 118 additions and 118 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue