Matrix.translation

Copyies the translation from mat to the current matrix (nxn matrices, n >= 3).

  1. Matrix translation(mt x, mt y, mt z)
  2. Matrix translation(Vector!(mt, 3) v)
  3. void translation(mt[] values)
  4. void translation(Matrix mat)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3))
    void
    translation
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )
  5. Matrix translation()

Meta