Matrix.set_translation

Sets the translation of the matrix (nxn matrices, n >= 3).

  1. void set_translation(mt[] values)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3))
    void
    set_translation
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )
  2. void set_translation(Matrix mat)

Meta