Calculates collision of two surfaces given in face1Vertices and face2Vertices.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[CLSCompliantAttribute(false)]
public bool TestCollision(
	Vector3* face1Vertices,
	Vector3* face2Vertices
)

Parameters

face1Vertices
Type: Vector3 *
First pointer to array Vector3 with location of the first vertex of the first face.
face2Vertices
Type: Vector3 *
Second pointer to array Vector3 with location of the first vertex of the second face.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the faces collide.

See Also