summaryrefslogtreecommitdiff
path: root/src/code/sys_math.c
diff options
context:
space:
mode:
authorpetrie911 <pmontag@Monday.localdomain>2023-04-25 12:30:13 -0500
committerpetrie911 <pmontag@Monday.localdomain>2023-04-25 12:30:13 -0500
commit21826bec78b7383a20d89f6ced785d7900326e64 (patch)
treed783f834960c4faf15ea802724ce019b5ce3f713 /src/code/sys_math.c
parent60c1b09fbc563f5727e9e71c18f8f7c5e418ae0e (diff)
parentfc3da8451ac4270bbe2f63102010d6726c562240 (diff)
merge
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;
}
/**