eye2world
Transforms eye coordinates to world coordinates using a quaternion.
Parameters
eye Vec
The eye 3x1 vector
q
The quaternion representing the rotation
res
The resulting world 3x1 vector
Transforms eye coordinates to world coordinates using a quaternion.
Parameters
x Eye
The x-coordinate of the eye
y Eye
The y-coordinate of the eye
z Eye
The z-coordinate of the eye
q
The quaternion representing the rotation
res
The resulting world 3x1 vector