Method Normalize
Normalize(Plane)
Normalizes the given Plane.
Declaration
public static Plane Normalize(Plane plane)
Parameters
Type | Name | Description |
---|---|---|
Plane | plane | Plane to normalize. |
Returns
Type | Description |
---|---|
Plane | Normalized Plane. |
Normalize(float4)
Normalizes the plane represented by the given plane coefficients.
Declaration
public static float4 Normalize(float4 planeCoefficients)
Parameters
Type | Name | Description |
---|---|---|
float4 | planeCoefficients | Plane coefficients A, B, C, D stored in x, y, z, w (respectively). |
Returns
Type | Description |
---|---|
float4 | Normalized plane coefficients. |
Remarks
The plane coefficients are A, B, C, D and stored in that order in the float4.