Method mulScale
mulScale(float3x3, float3)
Matrix columns multiplied by scale components m.c0.x * s.x | m.c1.x * s.y | m.c2.x * s.z m.c0.y * s.x | m.c1.y * s.y | m.c2.y * s.z m.c0.z * s.x | m.c1.z * s.y | m.c2.z * s.z
Declaration
public static float3x3 mulScale(float3x3 m, float3 s)
Parameters
| Type | Name | Description |
|---|---|---|
| float3x3 | m | Matrix to scale. |
| float3 | s | Scaling coefficients for each column. |
Returns
| Type | Description |
|---|---|
| float3x3 | The scaled matrix. |