Tao.Ode SDK Documentation

Ode.dGeomTriMeshDataBuildSimple Method 

Simple trimesh build function provided for convenience. Uses single/double precision vertices and normals depending on the current value of the dReal alias. The precision to use depends on which version of the ODE library is being used - single or double precision. Depends on whether dSINGLE or dDOUBLE is defined during ODE compilation.

[Visual Basic]
Public Shared Sub dGeomTriMeshDataBuildSimple( _
   ByVal g As IntPtr, _
   ByVal Vertices As dVector3(), _
   ByVal VertexCount As Integer, _
   ByVal Indices As Integer(), _
   ByVal IndexCount As Integer _
)
[C#]
public static void dGeomTriMeshDataBuildSimple(
   IntPtr g,
   dVector3[] Vertices,
   int VertexCount,
   int[] Indices,
   int IndexCount
);

Parameters

g
A dTriMeshDataID
Vertices
A dVector3[]
VertexCount
An int
Indices
An int[]
IndexCount
An int

See Also

Ode Class | Tao.Ode Namespace