mirror of https://github.com/AxioDL/metaforce.git
CPhysicsActor: Amend constructor names for CPhysicsState
These were previously undescriptive names despite the member variables being fully named. We can amend the parameters here.
This commit is contained in:
parent
81ae6bdda2
commit
e38d86fe59
|
@ -48,18 +48,19 @@ class CPhysicsState {
|
||||||
zeus::CAxisAngle x64_angularImpulse;
|
zeus::CAxisAngle x64_angularImpulse;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CPhysicsState(const zeus::CVector3f& translation, const zeus::CQuaternion& orient, const zeus::CVector3f& v2,
|
CPhysicsState(const zeus::CVector3f& translation, const zeus::CQuaternion& orient,
|
||||||
const zeus::CAxisAngle& a1, const zeus::CVector3f& v3, const zeus::CVector3f& v4,
|
const zeus::CVector3f& constantForce, const zeus::CAxisAngle& angularMomentum,
|
||||||
const zeus::CVector3f& v5, const zeus::CAxisAngle& a2, const zeus::CAxisAngle& a3)
|
const zeus::CVector3f& momentum, const zeus::CVector3f& force, const zeus::CVector3f& impulse,
|
||||||
|
const zeus::CAxisAngle& torque, const zeus::CAxisAngle& angularImpulse)
|
||||||
: x0_translation(translation)
|
: x0_translation(translation)
|
||||||
, xc_orientation(orient)
|
, xc_orientation(orient)
|
||||||
, x1c_constantForce(v2)
|
, x1c_constantForce(constantForce)
|
||||||
, x28_angularMomentum(a1)
|
, x28_angularMomentum(angularMomentum)
|
||||||
, x34_momentum(v3)
|
, x34_momentum(momentum)
|
||||||
, x40_force(v4)
|
, x40_force(force)
|
||||||
, x4c_impulse(v5)
|
, x4c_impulse(impulse)
|
||||||
, x58_torque(a2)
|
, x58_torque(torque)
|
||||||
, x64_angularImpulse(a3) {}
|
, x64_angularImpulse(angularImpulse) {}
|
||||||
|
|
||||||
void SetTranslation(const zeus::CVector3f& tr) { x0_translation = tr; }
|
void SetTranslation(const zeus::CVector3f& tr) { x0_translation = tr; }
|
||||||
void SetOrientation(const zeus::CQuaternion& orient) { xc_orientation = orient; }
|
void SetOrientation(const zeus::CQuaternion& orient) { xc_orientation = orient; }
|
||||||
|
|
Loading…
Reference in New Issue