rotate Vector
Rotates a 3D vector in eye position using this quaternion and stores the result in the provided array.
Parameters
v3
The input vector to rotate x, y, z in eye position..
out
The array to store the rotated vector.
offset
The offset in the output array to store the result.
Rotates a 3D vector in eye position using this quaternion and stores the result in the provided array.
Parameters
x
The x-coordinate of the input vector in eye position.
y
The y-coordinate of the input vector in eye position.
z
The z-coordinate of the input vector in eye position.
out
The array to store the rotated vector.
offset
The offset in the output array to store the result.