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
A high-performance three-dimensional vector implementation optimized for Saturn hardware.
Definition vector3d.hpp:51