Files
tp/include/JSystem/J3DGraphBase/J3DTransform.h
T

22 lines
603 B
C
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef J3DTRANSFORM_H
#define J3DTRANSFORM_H
2022-10-04 21:17:53 -07:00
#include "JSystem/JGeometry.h"
2021-10-11 09:38:53 -07:00
#include "dolphin/mtx/mtxvec.h"
2021-03-28 22:49:05 +02:00
#include "dolphin/types.h"
2021-10-11 09:38:53 -07:00
struct J3DTransformInfo {
2022-10-04 21:17:53 -07:00
/* 0x00 */ JGeometry::TVec3<f32> mScale;
/* 0x0C */ JGeometry::TVec3<s16> mRotation;
/* 0x14 */ JGeometry::TVec3<f32> mTranslate;
2021-10-11 09:38:53 -07:00
}; // Size: 0x20
extern J3DTransformInfo const j3dDefaultTransformInfo;
extern Vec const j3dDefaultScale;
extern Mtx const j3dDefaultMtx;
void J3DGetTranslateRotateMtx(J3DTransformInfo const&, Mtx);
void J3DGetTranslateRotateMtx(s16, s16, s16, f32, f32, f32, Mtx);
2021-03-28 22:49:05 +02:00
#endif /* J3DTRANSFORM_H */