AngularImpulse: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 11: Line 11:
''\..\src\public\mathlib\vector.h''
''\..\src\public\mathlib\vector.h''
<source lang=cpp>
<source lang=cpp>
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// AngularImpulse
// AngularImpulse
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// 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;
</source>
</source>

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