mirror of https://github.com/PrimeDecomp/prime.git
Improve CScriptSpiderBallAttractionSurface constructor
This commit is contained in:
parent
18ebd4146e
commit
83d4e0b613
|
@ -8,7 +8,9 @@ CScriptSpiderBallAttractionSurface::CScriptSpiderBallAttractionSurface(
|
|||
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(kMT_NoStepLogic),
|
||||
CActorParameters::None(), kInvalidUniqueId)
|
||||
, xe8_scale(scale)
|
||||
, xf4_aabb(CAABox(-(scale * 0.5f), scale * 0.5f).GetTransformedAABox(xf.GetRotation())) {}
|
||||
, xf4_aabb(CAABox(-CVector3f(scale.GetX() * 0.5f, scale.GetY() * 0.5f, scale.GetZ() * 0.5f),
|
||||
CVector3f(scale.GetX() * 0.5f, scale.GetY() * 0.5f, scale.GetZ() * 0.5f))
|
||||
.GetTransformedAABox(xf.GetRotation())) {}
|
||||
|
||||
CScriptSpiderBallAttractionSurface::~CScriptSpiderBallAttractionSurface() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue