Function ToPlaneMatrix.ToXZPlane

ToXZPlane (float3 p)

Transforms from world space to the 'ground' plane of the graph.

Public
float3 ToXZPlane (

float3

p

)

Transforms from world space to the 'ground' plane of the graph.

The transformation is purely a rotation so no scale or offset is used.

The elevation coordinate will be returned as the y coordinate of the returned vector.