Creates a uniform scale matrix from a Vector3D.
This static method generates a 4x3 scale matrix that represents a transformation that scales points uniformly along all axes by the specified scale factors from a Vector3D.
- Parameters
-
scale | The Vector3D containing scale factors for all axes. |
- Returns
- A new Matrix43 object representing the uniform scale transformation.
constexpr Matrix43()
Default constructor initializing to a zero matrix.
Definition mat43.hpp:85
static constexpr Matrix43 Scale(const Fxp &scale)
Creates a uniform scale matrix.
Definition mat43.hpp:612
A high-performance three-dimensional vector implementation optimized for Saturn hardware.
Definition vector3d.hpp:51