Matrix.rotate

rotate an existing matrix

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

Meta