Matrix.rotate

Rotate the current matrix arround an arbitrary axis

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

Meta