CmonGirl
22-10-2010 15:05:06
Hi guys! I am developing NxOgre project where I need to implement some convex mesh. The problem is, some debug attempts running perfect however other times there is a heap error I receive. Following is the code i tried on NxOgre 1.5.5 : ]
Will be appreciate for any help!
Regards
NxOgre::Shapes shapes;
NxOgre::Mesh* convexMesh = NxOgre::MeshManager::getSingleton()->load("media:HULL_PHY.nxs");
assert(convexMesh);
NxOgre::Convex* convex = new NxOgre::Convex(convexMesh);
assert(convex);
shapes.insert(convex);
Will be appreciate for any help!
Regards