From dcec25478857bcff764a5a7feec00d57a55da008 Mon Sep 17 00:00:00 2001 From: Trueffeloot Date: Thu, 3 Aug 2023 23:13:13 +0200 Subject: work on d_a_boomerang --- include/SSystem/SComponent/c_math.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/SSystem/SComponent') 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)); } -- cgit v1.2.3