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

Tests that vector interop behaves as expected.

Namespace: org.critterai.nav
Assembly: cai-nav (in cai-nav.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static Vector3 TestVector(
	Vector3 v
)
Public Shared Function TestVector ( _
	v As Vector3 _
) As Vector3
public:
static Vector3 TestVector(
	Vector3 v
)

Parameters

v
Vector3
The input vector.

Return Value

A vector equal to the input vector if interop is functioning as expected.

Remarks

If the test is successful the input and return vectors will be equal in value.

This method is used to validate that builds using custom vectors behaves correctly with interop. (I.e. The custom vector is data compatible.)

See Also