Matrix.rotation

Returns an identity matrix with an applied rotate_axis around an arbitrary axis ( nxn matrices, n >= 3 ).

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

Meta