| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The iPolygonMesh interface and everything related to that interface
has been deprecated. This implies that the following classes, interfaces,
and methods are now deprecated:
iPolygonMesh
Use iTriangleMesh instead.
csPolygonMeshTools
Use csTriangleMeshTools instead.
csPolygonMesh
Use csTriangleMesh instead.
csPolygonMeshBox
Use csTriangleMeshBox instead.
iObjectModel
All methods related to iPolygonMesh are deprecated. Use the
ones with iTriangleMesh instead.
csColliderWrapper
All methods related to iPolygonMesh are deprecated. Use the
ones with iTriangleMesh instead.
In addition the ‘polymesh’ keyword in world files has been deprecated. Instead use ‘trimesh’:
<trimesh> ... <id>colldet</id> <id>viscull</id> ... </trimesh> |
Here is an example on how to fetch the collision detection triangle mesh:
iObjectModel* model = ...;
csRef<iStringSet> strset = csQueryRegistry<iStringSet> (object_reg);
csStringID id = strset->Request ("colldet");
iTriangleMesh* trimesh = model->GetTriangleData (id);
|
This document was generated using texi2html 1.76.