d_a_knight_leader_bird OK

This commit is contained in:
robojumper
2025-09-14 17:03:33 +02:00
parent 67c9e3346c
commit c05597754e
12 changed files with 505 additions and 67 deletions
+4
View File
@@ -57,6 +57,10 @@ public:
return mAnm;
}
void setAnmFile(void *data) {
mAnmFile = nw4r::g3d::ResFile(data);
}
protected:
nw4r::g3d::ResFile mMdlFile;
nw4r::g3d::ResFile mAnmFile;
+4
View File
@@ -33,6 +33,10 @@ public:
mPlayState = state;
}
playMode_e getPlayMode() const {
return (playMode_e)mPlayState;
}
inline f32 getEndFrame() {
return mEndFrame;
}
+24
View File
@@ -110,6 +110,30 @@ public:
*this += m;
}
void concat(const mMtx_c &rhs) {
MTXConcat(*this, rhs, *this);
}
void scaleS(const mVec3_c &v) {
MTXScale(*this, v.x, v.y, v.z);
}
void scaleS(f32 x, f32 y, f32 z) {
MTXScale(*this, x, y, z);
}
void scaleM(const mVec3_c &v) {
mMtx_c m;
MTXScale(m, v.x, v.y, v.z);
*this += m;
}
void scaleM(f32 x, f32 y, f32 z) {
mMtx_c m;
MTXScale(m, x, y, z);
*this += m;
}
void multVec(const mVec3_c &in, mVec3_c &out) const {
MTXMultVec(*this, in, out);
}