[ODE] Trimesh data

Sergey Beloshitsky sergey at rostok-games.com.ua
Thu Jan 27 18:40:00 MST 2005

I am working with Trimesh class and have some questions
are data being copied from my arraus when i construct them using 
dGeomTriMeshDataBuild*() ?
for example can i do delete[] vBuffer and delete iBuffer after 
constructing trimesh data from them ?

and second quiestion is: if i have
float* vertex_buffer = new float[NUM_VERTS]
float* index_buffer = new float[3*NUM_TRIANGLES]

do i need to call dGeomTriMeshDataBuildSingle or i can call 
dGeomTriMeshDataBuildDouble as well ?

Шукай в телефоні мій слід...

More information about the ODE mailing list