AngularImpulse: Difference between revisions

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


<source lang=cpp>
<source lang=cpp>
  from \..\src\public\mathlib\vector.h
  ''\..\src\public\mathlib\vector.h''
  //-----------------------------------------------------------------------------
  //-----------------------------------------------------------------------------
  // AngularImpulse
  // AngularImpulse

Revision as of 18:56, 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 :

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