mirror of
https://github.com/zeldaret/ss
synced 2026-07-08 22:04:41 -04:00
Merge pull request #118 from robojumper/d_a_obj_dungeon_ship
An attempt at d_a_obj_dungeon_ship
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user