Matrix.rotation

Returns an identity matrix with the current rotation applied ( nxn matrices, n >= 3 ).

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

Meta