IrrCreateMesh

section index

## NAME

IrrCreateMesh - Create a own Mesh

## SYNOPSIS

*Mesh.l = IrrCreateMesh(name.p-ascii, vertexCount, *vertices.l, indicesCount.l, *indices.l )

## FUNCTION

Create a mesh from an array of verticies, an array of incidies to those verticies that connect them to form triangles and finally texture co-ordinates to map the verticies against a texture plane

## INPUTS

name.s | - | an Name to identify the Mesh
vertexCount.l | - | number of vertices
*vertices.IRR_VERT | - | pointer to the Array of vertices
indicesCount.l | - | number of indices
*indices.l | - | pointer to the Array of indeces

## RESULT

Pointer to the loaded Mesh if Successfull, otherwise #Null

## EXAMPLE

       See example 15_ExampleCreateCustomMesh.pb