TangentialImpulseAcceleration

fixed selfexplanatory documentation
This commit is contained in:
Dander7BD 2013-11-20 11:58:27 +01:00
parent fbeeb5f72c
commit 5cd36f1995
1 changed files with 3 additions and 3 deletions

View File

@ -112,12 +112,12 @@ namespace Oyster { namespace Physics3D
} }
/****************************************************************** /******************************************************************
* Returns the local impulse acceleration at localPos, of a mass in angular acceleration. * Returns the world impulse acceleration at ( worldOffset = worldPos - body's center of gravity ), of a mass in angular acceleration.
* @todo TODO: improve doc * @todo TODO: improve doc
******************************************************************/ ******************************************************************/
inline ::Oyster::Math::Float3 TangentialImpulseAcceleration( const ::Oyster::Math::Float4x4 &momentOfInertiaInversed, const ::Oyster::Math::Float3 &impulseTorque, const ::Oyster::Math::Float3 &localOffset ) inline ::Oyster::Math::Float3 TangentialImpulseAcceleration( const ::Oyster::Math::Float4x4 &worldMomentOfInertiaInversed, const ::Oyster::Math::Float3 &worldImpulseTorque, const ::Oyster::Math::Float3 &worldOffset )
{ {
return AngularImpulseAcceleration( momentOfInertiaInversed, impulseTorque ).Cross( localOffset ); return AngularImpulseAcceleration( worldMomentOfInertiaInversed, worldImpulseTorque ).Cross( worldOffset );
} }
/****************************************************************** /******************************************************************