Quaternion.rotation

Returns a vector with applied rotation around an axis.

  1. Quaternion rotation(real angle, Vector!(valueType, 3) axis)
    struct Quaternion(type)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe static
    rotation
    (
    real angle
    ,
    Vector!(valueType, 3) axis
    )
  2. Quaternion rotation(real roll, real pitch, real yaw)

Meta