mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-23 05:49:50 +00:00
8d83727429
* split sys_math, sys_math3d, z_lib from global.h * suggestions * forgot this * more math stuff * nit fix * re-add ichain.h * resolve tharo's comments
15 lines
272 B
C
15 lines
272 B
C
#ifndef SYS_MATH_H
|
|
#define SYS_MATH_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
f32 Math_FactorialF(f32 n);
|
|
f32 Math_Factorial(s32 n);
|
|
f32 Math_PowF(f32 base, s32 exp);
|
|
f32 Math_SinF(f32 angle);
|
|
f32 Math_CosF(f32 angle);
|
|
s16 Math_Atan2S(f32 x, f32 y);
|
|
f32 Math_Atan2F(f32 x, f32 y);
|
|
|
|
#endif
|