AngularImpulse: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:


<code>
<code>
from \..\src\public\mathlib\vector.h
  //-----------------------------------------------------------------------------
  //-----------------------------------------------------------------------------
  // AngularImpulse
  // AngularImpulse

Revision as of 18:51, 21 January 2010

Stub

This article or section is a stub. You can help by expanding it.


AngularImpulse

An angular impulse is a typedef of the Vector type. It's declared in the vector.h file. It is mostly used with physics-related code.

An Explanation :

from \..\src\public\mathlib\vector.h
//-----------------------------------------------------------------------------
// AngularImpulse
//-----------------------------------------------------------------------------
// AngularImpulse are exponetial maps (an axis scaled by a "twist" angle in degrees)
typedef Vector AngularImpulse;