Creates transformation matrix.
This static method generates a transformation matrix that combines translation, rotation, and scale. The resulting matrix can be used to transform points in world space by applying the specified translation, rotation angles, and scale factors.
- Template Parameters
-
P | Precision level for calculation, allowing users to choose the desired precision for the calculations. |
- Parameters
-
translation | The position offset as a Vector3D. |
rotation | The rotation as EulerAngles (pitch, yaw, roll). |
scale | The scale factors as a Vector3D (default: 1, 1, 1). |
- Returns
- A new Matrix43 object representing the combined transformation.
);
static consteval Angle HalfPi()
90° (0x4000)
Definition angle.hpp:62
static consteval Angle Zero()
0° (0x0000)
Definition angle.hpp:60
Represents three rotation angles in Euler angle format.
Definition angle.hpp:612
constexpr Matrix43()
Default constructor initializing to a zero matrix.
Definition mat43.hpp:85
static constexpr Matrix43 CreateTransform(const Vector3D &translation, const EulerAngles &rotation, const Vector3D &scale=Vector3D(1, 1, 1))
Creates transformation matrix.
Definition mat43.hpp:477
A high-performance three-dimensional vector implementation optimized for Saturn hardware.
Definition vector3d.hpp:51