Luna::AffineMatrix::make_translation

Float4x4 make_translation(const Float3 &translation)

Constructs one 3D translation matrix from one translation vector.

Parameters

  • in translation

    The translation vector.

Return value

Returns the constructed matrix.