Matrix.translate

translate an existing matrix with three scalars

  1. Matrix translate(type x)
  2. Matrix translate(type[2] vec)
  3. Matrix translate(type x, type y)
  4. Matrix translate(type[3] vec)
  5. Matrix translate(type x, type y, type z)
    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))
    static if(!(cols == 3))
    static if(cols == 4)
    translate
    (
    type x
    ,
    type y
    ,
    type z
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )

Meta