mirror of
https://github.com/zeldaret/tp
synced 2026-06-15 22:40:22 -04:00
3af0f51186
* memcard wip * format / asm * fix includes Co-authored-by: TakaRikka <taka@DESKTOP-T4B7CTF.localdomain>
18 lines
402 B
C
18 lines
402 B
C
#ifndef QUAT_H
|
|
#define QUAT_H
|
|
|
|
#include "dolphin/mtx/vec.h"
|
|
#include "dolphin/types.h"
|
|
|
|
struct Quaternion {
|
|
f32 x, y, z, w;
|
|
};
|
|
|
|
extern "C" {
|
|
void PSQUATMultiply(const Quaternion* src_a, const Quaternion* src_b, Quaternion* dst);
|
|
void C_QUATRotAxisRad(Quaternion* q, const Vec* axis, f32 rad);
|
|
void C_QUATSlerp(const Quaternion* p, const Quaternion* q, Quaternion* r, f32 t);
|
|
}
|
|
|
|
#endif /* QUAT_H */
|