rotationQuaternion

Setup a quaternion to rotate about specified axis. Theta must be in radians

  1. Quaternion!(T) rotationQuaternion(uint rotaxis, T theta)
  2. Quaternion!(T) rotationQuaternion(Vector!(T, 3) rotaxis, T theta)
    rotationQuaternion
    (
    T
    )
    (,)

Meta