| Parameter | Description |
|---|---|
| s | The scaling factor. |
float2x2 The float2x2 matrix representing uniform scale by s.
Returns a float2x2 matrix representing a uniform scaling of both axes by s.
| Parameter | Description |
|---|---|
| x | The x-axis scaling factor. |
| y | The y-axis scaling factor. |
float2x2 The float2x2 matrix representing a non-uniform scale.
Returns a float2x2 matrix representing a non-uniform axis scaling by x and y.
| Parameter | Description |
|---|---|
| v | The float2 containing the x and y axis scaling factors. |
float2x2 The float2x2 matrix representing a non-uniform scale.
Returns a float2x2 matrix representing a non-uniform axis scaling by the components of the float2 vector v.