Crate versor

Source

Structs§

  • Represents a quaternion.
  • Represents a 3-dimensional vector.

Functions§

  • Returns Cartesian coordinates [x, y, z] given spherical coordinates [λ, φ].
  • Returns the quaternion to rotate between two cartesian points on the sphere. The value alpha, ranging from 0 to 1, is for tweening. See https://github.com/Fil/versor/issues/8 for more.
  • Interpolate between two quaternions.
  • Interpolate linearly between two quaternions.

Type Aliases§