Quaternion.rotation

Creates a vector from an euler rotation.

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

Meta