Quaternion.rotate

Rotates the current vector around an axis and returns $( I this ).

  1. Quaternion rotate(real angle, Vector!(valueType, 3) axis)
    struct Quaternion(type)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe
    rotate
    (
    real angle
    ,
    Vector!(valueType, 3) axis
    )
  2. Quaternion rotate(real heading, real attitude, real bank)

Meta