Creates translation matrix.
This static method creates a 4x3 matrix that represents a translation transformation. The resulting matrix can be used to translate points in world space by the specified translation vector.
- Parameters
-
| translation | The desired translation vector, represented as a Vector3D. |
- Returns
- A new Matrix43 object representing the translation transformation.
static constexpr Matrix43 CreateTranslation(const Vector3D &translation)
Creates translation matrix.
Definition mat43.hpp:346
constexpr Matrix43()
Default constructor initializing to a zero matrix.
Definition mat43.hpp:85
constexpr Vector3D()
Default constructor, initializes all coordinates to 0.
Definition vector3d.hpp:58