mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-04 10:11:51 -04:00
More General Cleanup (#1638)
* LINKER_FILES in makefile
* COLPOLY_GET_NORMAL
* math header
* libc
* M_PI for cosf and sinf files
* MAXFLOAT
* Revert "MAXFLOAT"
This reverts commit 96b75ffaa8.
* Remove SHT_MINV
* SHRT_MAX
* Add M_PI
* Angle macros
* f suffix
* Format
This commit is contained in:
+2
-2
@@ -32,11 +32,11 @@ void* Lib_MemSet(void* buffer, s32 value, size_t size) {
|
||||
}
|
||||
|
||||
f32 Math_CosS(s16 angle) {
|
||||
return coss(angle) * SHT_MINV;
|
||||
return coss(angle) * (1.0f / SHRT_MAX);
|
||||
}
|
||||
|
||||
f32 Math_SinS(s16 angle) {
|
||||
return sins(angle) * SHT_MINV;
|
||||
return sins(angle) * (1.0f / SHRT_MAX);
|
||||
}
|
||||
|
||||
s32 Math_StepToIImpl(s32 start, s32 target, s32 step) {
|
||||
|
||||
Reference in New Issue
Block a user