[This is preliminary documentation and is subject to change.]

Gets the distance between the specified points on the xz-plane. (Ignores y-axis.)

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float GetDistance2D(
	Vector3 u,
	Vector3 v
)
Public Shared Function GetDistance2D ( _
	u As Vector3, _
	v As Vector3 _
) As Single
public:
static float GetDistance2D(
	Vector3 u, 
	Vector3 v
)

Parameters

u
Vector3
Vector u.
v
Vector3
Vector v.

Return Value

The distance between the specified points on the xz-plane.

See Also