mirror of https://github.com/AxioDL/metaforce.git
Fix goof
This commit is contained in:
parent
b261e09f51
commit
28e138d6db
|
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue