AngularImpulse: Difference between revisions

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




<code>
<source lang=cpp>
  from \..\src\public\mathlib\vector.h
  from \..\src\public\mathlib\vector.h
  //-----------------------------------------------------------------------------
  //-----------------------------------------------------------------------------
Line 16: Line 16:
  // AngularImpulse are exponetial maps (an axis scaled by a "twist" angle in degrees)
  // AngularImpulse are exponetial maps (an axis scaled by a "twist" angle in degrees)
  typedef Vector AngularImpulse;
  typedef Vector AngularImpulse;
</code>
</source>

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