Method Forward
Forward(in float4x4)
Computes the "forward" direction in a transformation matrix's reference frame.
Declaration
public static float3 Forward(this in float4x4 m)
Parameters
| Type | Name | Description |
|---|---|---|
| float4x4 | m | A transformation matrix |
Returns
| Type | Description |
|---|---|
| float3 | A vector pointing in the "forward" direction of |
Remarks
This method assumes that m is an affine transformation matrix without shear.