Matrix.translation

extract translation part of the matrix in a copy

  1. Matrix translation(type x)
  2. Matrix translation(type[2] vec)
  3. Matrix translation(type x, type y)
  4. Matrix translation(type[3] vec)
  5. Matrix translation(type x, type y, type z)
  6. Matrix translation()
    struct Matrix(type, int numCols, int numRows)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe @safe pure nothrow
    static if(cols == rows)
    translation
    ()
    if (
    (numCols > 1) &&
    (numRows > 1)
    )

Meta