mirror of https://github.com/AxioDL/metaforce.git
parent
a32e21df14
commit
fb1c2b95a2
|
@ -46,11 +46,10 @@ CPuddleSpore::CPuddleSpore(TUniqueId uid, std::string_view name, EFlavorType fla
|
||||||
}
|
}
|
||||||
|
|
||||||
zeus::CAABox CPuddleSpore::CalculateBoundingBox() const {
|
zeus::CAABox CPuddleSpore::CalculateBoundingBox() const {
|
||||||
return {
|
return {(zeus::CVector3f(-x590_halfExtent, -x590_halfExtent, x598_) + x584_bodyOrigin) * 0.05f +
|
||||||
((zeus::CVector3f(-x590_halfExtent, -x590_halfExtent, x598_) + x584_bodyOrigin) * 0.5f) +
|
GetBaseBoundingBox().min * 0.95f,
|
||||||
(GetBaseBoundingBox().min * 0.95f),
|
(zeus::CVector3f(x590_halfExtent, x590_halfExtent, x594_height * x59c_ + x598_) + x584_bodyOrigin) * 0.05f +
|
||||||
((zeus::CVector3f(x590_halfExtent, x590_halfExtent, (x594_height * x59c_) + x598_) + x584_bodyOrigin) * 0.5f) +
|
GetBaseBoundingBox().max * 0.95f};
|
||||||
(GetBaseBoundingBox().max * 0.95f)};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPuddleSpore::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
|
void CPuddleSpore::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
|
||||||
|
|
Loading…
Reference in New Issue