rotation

Build a rotation matrix. angle in radians.

  1. Mat3x3!T rotation(T angle)
  2. auto rotation(T angle, V axis)
  3. auto rotation(T angle, T x, T y, T z)
    pure @safe @nogc nothrow
    rotation
    (
    T
    )
    (
    in T angle
    ,
    in T x
    ,
    in T y
    ,
    in T z
    )
    if (
    isFloatingPoint!T
    )
  4. Mat2x3!T affineRotation(T angle)

Meta