mirror of https://github.com/AxioDL/metaforce.git
CWaveBuster: Add AddToRenderer implementation
Low hanging fruit and fairly trivial to implement.
This commit is contained in:
parent
5a5c6f76a4
commit
3dddfa63cf
|
@ -32,6 +32,11 @@ void CWaveBuster::ResetBeam(bool deactivate) {}
|
|||
|
||||
void CWaveBuster::SetNewTarget(TUniqueId id) {}
|
||||
|
||||
void CWaveBuster::AddToRenderer([[maybe_unused]] const zeus::CFrustum& frustum, CStateManager& mgr) {
|
||||
const auto bounds = GetSortingBounds(mgr);
|
||||
EnsureRendered(mgr, x2e8_originalXf.origin, bounds);
|
||||
}
|
||||
|
||||
std::optional<zeus::CAABox> CWaveBuster::GetTouchBounds() const {
|
||||
if (x3d0_28_) {
|
||||
return std::nullopt;
|
||||
|
|
|
@ -55,6 +55,7 @@ public:
|
|||
void ResetBeam(bool deactivate);
|
||||
void SetNewTarget(TUniqueId id);
|
||||
|
||||
void AddToRenderer(const zeus::CFrustum& frustum, CStateManager& mgr) override;
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue