mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 12:16:17 -04:00
f_op_actor_mng split & started decomp (#112)
* fop-actor-mng * rodata * more actor mng progress * actor mng progress * format * cleanup * fix Mtx function signatures * PR suggestion Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef JSYSTEM_JMATH_H_
|
||||
#define JSYSTEM_JMATH_H_
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct sinCosTableEntry {
|
||||
f32 sin;
|
||||
f32 cos;
|
||||
};
|
||||
|
||||
extern sinCosTableEntry lbl_80439A20[0x2000]; // JMath::JMath::sincosTable_
|
||||
|
||||
inline f32 cM_scos(s16 s) {
|
||||
return lbl_80439A20[static_cast<u16>(s) >> 3].cos;
|
||||
}
|
||||
|
||||
inline f32 cM_ssin(s16 s) {
|
||||
return lbl_80439A20[static_cast<u16>(s) >> 3].sin;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user