mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
Match Most of daNpc_ji1_c (#796)
* More npc_ji1 Work - Match most remaining code Still need to fix setHairAngle and do a ton of cleanup * setHairAngle Closer * Oops Why was this not causing an error locally * More Field Names
This commit is contained in:
@@ -13,14 +13,18 @@ typedef struct Quaternion {
|
||||
|
||||
void C_QUATMultiply(const Quaternion* a, const Quaternion* b, Quaternion* ab);
|
||||
void PSQUATMultiply(const Quaternion* a, const Quaternion* b, Quaternion* ab);
|
||||
void C_QUATNormalize(const Quaternion* src, Quaternion* unit);
|
||||
void PSQUATNormalize(const Quaternion* src, Quaternion* unit);
|
||||
void C_QUATRotAxisRad(Quaternion* q, const Vec* axis, f32 rad);
|
||||
void C_QUATSlerp(const Quaternion* p, const Quaternion* q, Quaternion* r, f32 t);
|
||||
|
||||
/* When compiling in debug mode, use C implementations */
|
||||
#if defined(DEBUG) || !defined(__MWERKS__)
|
||||
#define QUATMultiply C_QUATMultiply
|
||||
#define QUATNormalize C_QUATNormalize
|
||||
#else
|
||||
#define QUATMultiply PSQUATMultiply
|
||||
#define QUATNormalize PSQUATNormalize
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user