mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 22:22:05 -04:00
JPAMath OK (#401)
This commit is contained in:
@@ -155,6 +155,10 @@ struct TVec3<f32> {
|
||||
scale(norm);
|
||||
}
|
||||
|
||||
f32 length() {
|
||||
return PSVECMag((Vec*)this);
|
||||
}
|
||||
|
||||
void scale(register f32 sc) {
|
||||
register f32 z;
|
||||
register f32 x_y;
|
||||
|
||||
@@ -4,9 +4,13 @@
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "JSystem/JGeometry.h"
|
||||
|
||||
void JPAGetDirMtx(JGeometry::TVec3<f32> const& param_0, f32 (*param_1)[4]);
|
||||
void JPAGetYZRotateMtx(s16 angleY, s16 angleZ, f32 (*param_2)[4]);
|
||||
void JPAGetXYZRotateMtx(s16 x, s16 y, s16 z, Mtx dst);
|
||||
void JPASetRMtxTVecfromMtx(f32 const (*param_0)[4], f32 (*param_1)[4],
|
||||
JGeometry::TVec3<f32>* param_2);
|
||||
void JPACalcKeyAnmValue(f32 param_0, u16 param_1, f32 const* param_2);
|
||||
f32 JPACalcKeyAnmValue(f32 param_0, u16 param_1, f32 const* param_2);
|
||||
void JPASetRMtxSTVecfromMtx(f32 const (*param_0)[4], f32 (*param_1)[4],
|
||||
JGeometry::TVec3<f32>* param_2, JGeometry::TVec3<f32>* param_3);
|
||||
|
||||
#endif /* JPAMATH_H */
|
||||
|
||||
Reference in New Issue
Block a user