Halfway there

This commit is contained in:
robojumper
2025-02-27 11:38:11 +01:00
parent 6269e82659
commit b1f2d817a4
10 changed files with 639 additions and 55 deletions
+5
View File
@@ -4,6 +4,7 @@
#include "m/m3d/m_bmdl.h"
#include "m/m3d/m_fanm.h"
#include "nw4r/g3d/g3d_anmclr.h"
#include "nw4r/g3d/g3d_scnobj.h"
namespace m3d {
@@ -48,6 +49,10 @@ public:
void setFrameStart(f32, s32);
f32 getFrameStart(s32) const;
nw4r::g3d::AnmObjMatClrRes *getChild(s32 idx) {
return nw4r::g3d::ScnObj::DynamicCast<nw4r::g3d::AnmObjMatClrRes>(mpChildren[idx].getAnimObj());
}
private:
child_c *mpChildren;
};