diff options
Diffstat (limited to 'include/SSystem')
| -rw-r--r-- | include/SSystem/SComponent/c_math.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_math.h b/include/SSystem/SComponent/c_math.h index 767f1ddfc0..7348052c9d 100644 --- a/include/SSystem/SComponent/c_math.h +++ b/include/SSystem/SComponent/c_math.h @@ -33,6 +33,10 @@ inline s16 i_cM_deg2s(f32 deg) { return deg; } +inline f32 cM_fcos(f32 x) { + return JMASCos(cM_rad2s(x)); +} + inline f32 cM_fsin(f32 x) { return JMASSin(cM_rad2s(x)); } |
