Jump to navigation Jump to search
Each constructor initializes the angular vector.
Syntax and Description
- Default constructor, initialize the angular vector to (0,0,0). (Roll = 0, Pitch =0, Yow =0).
- Constructor, initialize the angular vector by the user input. (Roll = r, Pitch = p, Yow = y).
|AngularVec (const Vec3D &o);|
- Constructor, initialize the angular vector by the user input vector. (Roll = o(Y), Pitch o(X), Yow = o(Z)).
|AngularVec (const LinearVec& lookUp, const LinearVec& lookAt);|
- This constructor takes two lookUp and LookAt unit vectors and converts them to pitch yaw and roll