Mostly add CPhysicsActor::GetRotateToORAngularMomentumWR

Former-commit-id: fe02b80545
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-04 12:50:34 +02:00
parent 7f947e6442
commit c109339372
4 changed files with 14 additions and 4 deletions

View File

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