Matrix.scaling

Returns a scaling matrix ( 3x3 and 4x4 matrices );

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

Meta