Calculates collision of the 2 faces given in vertices1 and vertices2.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool TestCollision( Vector3[] vertices1, int face1Index, Vector3[] vertices2, int face2Index, ref Matrix transform ) |
Parameters
- vertices1
- Type: array<
Vector3
>[]()[]
First array Vector3 with location of the vertexes of the first face.
- face1Index
- Type: System..::.Int32
Starting index in the first array of faces.
- vertices2
- Type: array<
Vector3
>[]()[]
Second array Vector3 with location of the vertexes of the second face.
- face2Index
- Type: System..::.Int32
Starting index in the second array of faces.
- transform
- Type:
Matrix
%
Transformimg matrix of the second face vertexes.