mirror of https://github.com/AxioDL/metaforce.git
CScriptPointOfInterest: Brace conditionals where applicable
This commit is contained in:
parent
192cbd5e14
commit
e47d0446b1
|
@ -31,10 +31,11 @@ void CScriptPointOfInterest::AddToRenderer(const zeus::CFrustum&, CStateManager&
|
|||
void CScriptPointOfInterest::Render(CStateManager&) {}
|
||||
|
||||
void CScriptPointOfInterest::CalculateRenderBounds() {
|
||||
if (xe8_pointSize == 0.f)
|
||||
if (xe8_pointSize == 0.f) {
|
||||
CActor::CalculateRenderBounds();
|
||||
else
|
||||
} else {
|
||||
x9c_renderBounds = zeus::CAABox(x34_transform.origin - xe8_pointSize, x34_transform.origin + xe8_pointSize);
|
||||
}
|
||||
}
|
||||
|
||||
std::optional<zeus::CAABox> CScriptPointOfInterest::GetTouchBounds() const {
|
||||
|
|
Loading…
Reference in New Issue