Calculates collision of the 2 faces given in faces1 and faces2.

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

Syntax

C#
public bool TestCollision(
	IXFaceArray faces1,
	int face1Index,
	IXFaceArray faces2,
	int face2Index,
	ref Matrix transform
)

Parameters

faces1
Type: SGP.XSpace..::.IXFaceArray
First array IXFaceArraywith location of the vertexes of the first face.
face1Index
Type: System..::.Int32
Starting index in the first array of faces.
faces2
Type: SGP.XSpace..::.IXFaceArray
Second array IXFaceArraywith location of the vertexes of the second face.
face2Index
Type: System..::.Int32
Starting index in the second array of faces.
transform
Type: Matrix %
Transforming matrix of the second face vertexes.

Return Value

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

See Also