Add the rest of CPhysicsActor

Former-commit-id: 55608d26be
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-04 14:22:09 +02:00
parent c109339372
commit 9fbf5962f5
5 changed files with 188 additions and 11 deletions

View File

@@ -73,7 +73,8 @@ public:
float GetZ() const { return z; }
const CVector3f& GetImaginary() const {
// TODO: hack! has a Vector3f field?
return *reinterpret_cast<const CVector3f*>(&x); }
return *reinterpret_cast<const CVector3f*>(&x);
}
private:
float w;