rotationQuaternion

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

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

Meta