mirror of https://github.com/AxioDL/metaforce.git
CScriptPointOfInterest: Brace conditionals where applicable
This commit is contained in:
parent
192cbd5e14
commit
e47d0446b1
|
@ -31,11 +31,12 @@ 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 {
|
||||
return {zeus::CAABox{x34_transform.origin, x34_transform.origin}};
|
||||
|
|
Loading…
Reference in New Issue