Matrix.get_translation

Returns an identity matrix with the current translation applied (nxn matrices, n >= 3)..

struct Matrix(type, int rows_, int cols_)
@safe pure nothrow
static if((rows == cols) && (rows >= 3))
get_translation
()
if (
(rows_ > 0) &&
(cols_ > 0)
)

Meta