mirror of https://github.com/AxioDL/metaforce.git
19 lines
459 B
C++
19 lines
459 B
C++
#include "CMetroidModelInstance.hpp"
|
|
#include "CModel.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
CMetroidModelInstance::CMetroidModelInstance
|
|
(const void* modelHeader, CBooModel* inst)
|
|
: x0_visorFlags(hecl::SBig(*static_cast<const u32*>(modelHeader))), m_instance(inst)
|
|
{
|
|
athena::io::MemoryReader r(static_cast<const u8*>(modelHeader) + 4, INT32_MAX);
|
|
x4_xf.read34RowMajor(r);
|
|
x34_aabb.readBoundingBoxBig(r);
|
|
}
|
|
|
|
CMetroidModelInstance::~CMetroidModelInstance() {}
|
|
|
|
}
|