optimize hand (hand.py, vrhand.py) MPL.xml STL meshes for better collision detection performance (using Blender decimation tool)
This commit is contained in:
1 parent
63dc57c7e6
commit
af295b6eed
27 files changed
+52
-49
No files matched your search
@@ -98,8 +98,11 @@ static GLInstanceGraphicsShape* LoadMeshFromSTL(const char* relativeFileName)
|
||||
}
|
||||
fclose(file);
|
||||
}
|
||||
shape->m_numIndices = shape->m_indices->size();
|
||||
shape->m_numvertices = shape->m_vertices->size();
|
||||
if (shape)
|
||||
{
|
||||
shape->m_numIndices = shape->m_indices->size();
|
||||
shape->m_numvertices = shape->m_vertices->size();
|
||||
}
|
||||
return shape;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user