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