summaryrefslogtreecommitdiff
path: root/include/JSystem/JParticle/JPAMath.h
blob: f63ce1eaab99246b1435ee2edd7ed13fcb52ef1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef JPAMATH_H
#define JPAMATH_H

#include "JSystem/JGeometry.h"
#include "dolphin/mtx/mtx.h"
#include "dolphin/types.h"

void JPAGetYZRotateMtx(s16, s16, Mtx);
void JPAGetXYZRotateMtx(s16, s16, s16, Mtx);
void JPAGetDirMtx(const JGeometry::TVec3<f32>&, Mtx);
void JPASetSVecfromMtx(Mtx, JGeometry::TVec3<f32>&);
void JPASetRMtxTVecfromMtx(Mtx, Mtx, JGeometry::TVec3<f32>&);
void JPASetRMtxSTVecfromMtx(Mtx, Mtx, JGeometry::TVec3<f32>&, JGeometry::TVec3<f32>&);
f32 JPAGetKeyFrameValue(f32, u16, const f32*);
void JPAGetUnitVec(s16, s16, JGeometry::TVec3<f32>&);

#endif /* JPAMATH_H */