mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Lots of bug fixes (Windows still needs some fixes)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "RetroTypes.hpp"
|
||||
#include "zeus/CTransform.hpp"
|
||||
#include "zeus/CAABox.hpp"
|
||||
#include "hecl/Runtime.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -21,9 +22,21 @@ class CMetroidModelInstance
|
||||
zeus::CAABox x34_aabb;
|
||||
std::vector<CBooSurface> m_surfaces;
|
||||
std::unique_ptr<CBooModel> m_instance;
|
||||
hecl::HMDLMeta m_hmdlMeta;
|
||||
std::vector<std::shared_ptr<hecl::Runtime::ShaderPipelines>> m_shaders;
|
||||
public:
|
||||
CMetroidModelInstance() = default;
|
||||
CMetroidModelInstance(CMetroidModelInstance&&) = default;
|
||||
void Clear()
|
||||
{
|
||||
x0_visorFlags = 0;
|
||||
x4_xf = {};
|
||||
x34_aabb = {};
|
||||
m_surfaces.clear();
|
||||
m_instance.reset();
|
||||
m_hmdlMeta = {};
|
||||
m_shaders.clear();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user