summaryrefslogtreecommitdiff
path: root/src/code/sys_math3d.c
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2020-12-26 04:44:53 -0600
committerGitHub <noreply@github.com>2020-12-26 05:44:53 -0500
commit8fa6cb6ff927496403f950fc86146d6aabe9773f (patch)
tree6b302cf5354f3ef31304a77cd42a6a8782ac363f /src/code/sys_math3d.c
parent81c269b417ad31954b4d7efdd114e02201c02334 (diff)
Consistent naming for Math_ functions (#542)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * maths * Factoriali -> Factorial * soon, soon * renames * rand * docs * merged * formatting * little more cleanup * asm crept back in * changes to MathF * smooth criminal * functions.h
Diffstat (limited to 'src/code/sys_math3d.c')
-rw-r--r--src/code/sys_math3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c
index 4a0006c32..04a7fa864 100644
--- a/src/code/sys_math3d.c
+++ b/src/code/sys_math3d.c
@@ -870,8 +870,8 @@ s32 Math3D_LineVsCubeShort(Vec3s* min, Vec3s* max, Vec3s* a, Vec3s* b) {
* outputs the plane equation `a``pointOnPlane->x` + 0y + `c``pointOnPlane->z`+`d` = 0
*/
void Math3D_RotateXZPlane(Vec3f* pointOnPlane, s16 angle, f32* a, f32* c, f32* d) {
- *a = Math_Sins(angle) * 32767.0f;
- *c = Math_Coss(angle) * 32767.0f;
+ *a = Math_SinS(angle) * 32767.0f;
+ *c = Math_CosS(angle) * 32767.0f;
*d = -((*a * pointOnPlane->x) + (*c * pointOnPlane->z));
}