diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-06-06 12:16:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 22:16:34 -0400 |
| commit | 7f5087d0b2014dc1ba2bbfc7ce858f0059a8a7cb (patch) | |
| tree | a56edb9e5d173d9e24bdce4a373e9fe38253cb34 /src/code/z_sub_s.c | |
| parent | f92a61db27ed8ee213072df11169777c6794bc1b (diff) | |
sys_math.c Rename (#1258)
* rename via comments
* missed a comment
* math header
* name boot_80086760.c functions
* PR Review
* rm cam comment
* Elliptic review
* alphabetical
Diffstat (limited to 'src/code/z_sub_s.c')
| -rw-r--r-- | src/code/z_sub_s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sub_s.c b/src/code/z_sub_s.c index 35886da18..90d09a4b1 100644 --- a/src/code/z_sub_s.c +++ b/src/code/z_sub_s.c @@ -577,7 +577,7 @@ s32 SubS_HasReachedPoint(Actor* actor, Path* path, s32 pointIndex) { diffZ = points[index + 1].z - points[index - 1].z; } - func_8017B7F8(&point, RAD_TO_BINANG(func_80086B30(diffX, diffZ)), &px, &pz, &d); + func_8017B7F8(&point, RAD_TO_BINANG(Math_FAtan2F(diffX, diffZ)), &px, &pz, &d); if (((px * actor->world.pos.x) + (pz * actor->world.pos.z) + d) > 0.0f) { reached = true; } |
