mirror of
https://github.com/zeldaret/ss
synced 2026-08-09 18:57:50 -04:00
d_a_knight_leader_bird OK
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -33,6 +33,10 @@ public:
|
||||
mPlayState = state;
|
||||
}
|
||||
|
||||
playMode_e getPlayMode() const {
|
||||
return (playMode_e)mPlayState;
|
||||
}
|
||||
|
||||
inline f32 getEndFrame() {
|
||||
return mEndFrame;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user