mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-18 05:25:23 +00:00
Mostly add CPhysicsActor::GetRotateToORAngularMomentumWR
Former-commit-id: fe02b80545
This commit is contained in:
@@ -71,6 +71,9 @@ public:
|
||||
float GetX() const { return x; }
|
||||
float GetY() const { return y; }
|
||||
float GetZ() const { return z; }
|
||||
const CVector3f& GetImaginary() const {
|
||||
// TODO: hack! has a Vector3f field?
|
||||
return *reinterpret_cast<const CVector3f*>(&x); }
|
||||
|
||||
private:
|
||||
float w;
|
||||
|
||||
@@ -141,7 +141,7 @@ public:
|
||||
void MoveToWR(const CVector3f&, float);
|
||||
void MoveToInOneFrameWR(const CVector3f&, float);
|
||||
CVector3f GetMoveToORImpulseWR(const CVector3f& impulse, float d) const;
|
||||
CAxisAngle GetRotateToORAngularMomentumWR(const CQuaternion& q, float d) const;
|
||||
CVector3f GetRotateToORAngularMomentumWR(const CQuaternion& q, float d) const;
|
||||
void RotateToWR(const CQuaternion&, float);
|
||||
|
||||
void MoveToOR(const CVector3f&, float);
|
||||
|
||||
Reference in New Issue
Block a user