This commit is contained in:
Phillip Stephens 2015-11-02 10:50:24 -08:00
parent b261e09f51
commit 28e138d6db
1 changed files with 3 additions and 2 deletions

View File

@ -92,12 +92,13 @@ public:
Zeus::CTransform GetPrimitiveTransform() Zeus::CTransform GetPrimitiveTransform()
{ {
return Zeus::CTransform;
} }
const CCollisionPrimitive& GetCollisionPrimitive() const const CCollisionPrimitive& GetCollisionPrimitive() const
{ return x1b0_collisionPrimitive; } { return x1b0_collisionPrimitive; }
void SetInterialTensorScalar(float tensor) void SetInertiaTensorScalar(float tensor)
{ {
if (tensor <= 0.0f) if (tensor <= 0.0f)
tensor = 1.0f; tensor = 1.0f;
@ -113,7 +114,7 @@ public:
tensor = 1.0f / mass; tensor = 1.0f / mass;
xdc_massRecip = tensor; xdc_massRecip = tensor;
SetInterialTensorScalar(mass * tensor); SetInertiaTensorScalar(mass * tensor);
} }
}; };