SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Scale() [1/3]

static constexpr Matrix43 SRL::Math::Types::Matrix43::Scale ( const Fxp & scale)
inlinestaticconstexpr

Creates a uniform scale matrix.

This static method generates a 4x3 scale matrix that represents a transformation that scales points uniformly along all axes by the specified scale factor.

Parameters
scaleThe scale factor for all axes.
Returns
A new Matrix43 object representing the uniform scale transformation.
Matrix43 scaleMatrix = Matrix43::Scale(2); // Scales by a factor of 2
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