begin MathUtil.c, migrate data

This commit is contained in:
alessamothdream
2026-08-21 02:52:11 -05:00
committed by Timothy O'Barr
parent 92e49b0cd4
commit 47ab0a9d02
3 changed files with 83 additions and 9 deletions
+8 -3
View File
@@ -18,10 +18,15 @@
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
#define ARRAY_COUNTU(arr) (u32)(sizeof(arr) / sizeof(arr[0]))
// #define PI 3.1415928f
#define PI 3.1415927f
#define HALF_PI 1.5707964f
#define TWO_PI 6.2831855f
f32 cosf(f32);
f32 atan2f(f32, f32);
float atan2f(float, float);
float atanf(float);
float cosf(float);
float sinf(float);
float sqrtf(float);
#define BSS __attribute__ ((section (".bss")))