rotate_vector_forward()

Description: Interprets Euler angles to rotate vectors.

Usage

rotated_vector = rotate_vector_forward(vector, angle); 

Arguments

Output Parameters

Notes

The input vector must be three-dimensional, even if some

dimensions are zero. FOCUS interprets Euler angles such that θ rotates the vector about the y axis, ψ rotates the vector about the x′ axis, and φ rotates the vector about the z′′ axis.