Mat4:scale
EditScales the matrix.
Arguments
Name | Type | Description |
scale | Vec3 | The 3D scale to apply. |
Returns
Name | Type | Description |
self | Mat4 | The modified matrix. |
Arguments
Name | Type | Default | Description |
sx | number | The x component of the scale to apply. | |
sy | number | sx | The y component of the scale to apply. |
sz | number | sx | The z component of the scale to apply. |
Returns
Name | Type | Description |
self | Mat4 | The modified matrix. |