[ODE] Trimesh data

THD apt at home.se
Thu Jan 27 18:23:49 MST 2005


>From the documentation about dGeomTriMeshDataBuild:

"Used for filling a dTriMeshData object with data. No data is copied
here, so the pointers passed into this function must remain valid."


----- Original Message -----
From: Sergey Beloshitsky <sergey at rostok-games.com.ua>
Date: Thu, 27 Jan 2005 18:40:00 +0200

> 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 ?
> 
> -- 
> Шукай в телефоні мій слід...
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode






More information about the ODE mailing list