Luna::AffineMatrix::make_translation

Float3x3 make_translation(const Float2 &translation)

Constructs one 2D translation matrix from one translation vector.

Parameters

  • in translation

    The translation vector.

Return value

Returns the constructed matrix.