summaryrefslogtreecommitdiff
path: root/src/code/sys_math.c
diff options
context:
space:
mode:
authorengineer124 <engineer124engineer124@gmail.com>2023-05-13 19:26:44 +1000
committerengineer124 <engineer124engineer124@gmail.com>2023-05-13 19:26:44 +1000
commit0ab669a5395295999a567e64eb57fa5ea9fde471 (patch)
tree8bb91f56760aff853b18e979098176a5e1037df9 /src/code/sys_math.c
parent902992a32c1af1e21040b58ed09b0eae738ac74c (diff)
parentcc6cc8da96ceaad7b1bfa318e5e3c422b2a89ba7 (diff)
merge master
Diffstat (limited to 'src/code/sys_math.c')
-rw-r--r--src/code/sys_math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/sys_math.c b/src/code/sys_math.c
index da4ccc9d2..7fd7e9dea 100644
--- a/src/code/sys_math.c
+++ b/src/code/sys_math.c
@@ -66,7 +66,7 @@ f32 pow_int(f32 base, s32 exp) {
* Takes an angle in radians and returns the sine.
*/
f32 sin_rad(f32 rad) {
- return sins(RADF_TO_BINANG(rad)) * SHT_MINV;
+ return sins(RAD_TO_BINANG(rad)) * SHT_MINV;
}
// Rename to Math_CosF
@@ -74,7 +74,7 @@ f32 sin_rad(f32 rad) {
* Takes an angle in radians and returns the cosine.
*/
f32 cos_rad(f32 rad) {
- return coss(RADF_TO_BINANG(rad)) * SHT_MINV;
+ return coss(RAD_TO_BINANG(rad)) * SHT_MINV;
}
/**