world2eye
Transforms world coordinates to eye coordinates using a quaternion.
Parameters
worldVec
The world 3x1 vector
q
The quaternion representing the rotation
outEyeVec
The resulting eye 3x1 vector
Transforms world coordinates to eye coordinates using a quaternion.
The world 3x1 vector
The quaternion representing the rotation
The resulting eye 3x1 vector