SimApi Convertor zsVec2AngularVec
static void SimApi::Convertor::zsVec2AngularVec(const zsVec3 &zsVec, AngularVec &angVec)
Description
Converts graphic engine vector to angular vec.
Parameters
zsVec - In parameter, the graphic engine vector (of type zsVec3)
angVec - Out parameter, angular vector (of type AngularVec)
Return
Type: void Description: The angular vector is returned in the angVec parameter
Remarks
The 3D engine and the simulation engine represent orientation vectors differently. When using 3D engine API, you must convert from the AngularVec type that is used by simulation engine to zsVec3 type that is used by 3D engine, and then convert the results in conversely. See "SIMBox Coordinates Systems" for more information.
Code Sample
See Also
angularVec2zsVec
linearVec2zsVec
zsVec2LinearVec
Related Links
SIMbox Coordinates Systems Overview
AngularVec
zsVec3