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:
Lioncash 2020-03-25 01:56:56 -04:00
parent 81ae6bdda2
commit e38d86fe59
1 changed files with 11 additions and 10 deletions

View File

@ -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; }