Files
tp/include/JSystem/JMath/JMath.h
T
lepelog aff4c171fc 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>
2021-02-12 19:47:46 -05:00

21 lines
391 B
C

#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