Function nyx_space::utils::r3

source ·
pub fn r3(angle: f64) -> Matrix3<f64>
Expand description

Returns a rotation about the Z axis. The angle must be provided in radians. WARNING: this is a COORDINATE SYSTEM rotation by x radians; this matrix, when applied to a vector, rotates the vector by -x radians, not x radians. Applying the matrix to a vector yields the vector’s representation relative to the rotated coordinate system. Source: https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/eul2xf_c.html