move the RigidBodyFromObj to Importers section.
This commit is contained in:
1 parent
db4fb750bc
commit
8a68e27bb7
2 files changed
+11
-13
No files matched your search
@@ -120,10 +120,10 @@ void RigidBodyFromObjExample::initPhysics()
|
||||
|
||||
btVector3 color(1,1,1);
|
||||
btVector3 scaling(0.1,0.1,0.1);
|
||||
bool useObjForRendering = ((m_options & ObjUseConvexHullForRendering)!=0);
|
||||
bool useConvexHullForRendering = ((m_options & ObjUseConvexHullForRendering)!=0);
|
||||
|
||||
|
||||
if (useObjForRendering)
|
||||
if (!useConvexHullForRendering)
|
||||
{
|
||||
int shapeId = m_guiHelper->getRenderInterface()->registerShape(&glmesh->m_vertices->at(0).xyzw[0],
|
||||
glmesh->m_numvertices,
|
||||
|
||||
Reference in new issue
Block a user