Matrix.rotation

static construction of a rotation matrix

  1. Matrix rotation(real angle)
    struct Matrix(type, int numCols, int numRows)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe @safe pure nothrow static
    static if(cols == rows)
    static if(cols == 2 || cols == 3)
    rotation
    (
    real angle
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  2. Matrix rotation(real angle, Vector!(type, 3) axis)
  3. Matrix rotation(real angle, type x, type y, type z)
  4. Matrix rotation()

Meta