mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-12 08:19:34 +00:00
Preparation for serialization of btTriangleInfoMap
Add flags to disable bvh and triangleinfomap serialization btSerializer::setSerializationFlags(flags) flag can have value BT_SERIALIZE_NO_BVH, BT_SERIALIZE_NO_TRIANGLEINFOMAP
This commit is contained in:
@@ -167,6 +167,11 @@ void btBulletFile::parseData()
|
||||
m_bvhs.push_back((bStructHandle*) id);
|
||||
}
|
||||
|
||||
if (dataChunk.code == BT_TRIANLGE_INFO_MAP)
|
||||
{
|
||||
m_triangleInfoMaps.push_back((bStructHandle*) id);
|
||||
}
|
||||
|
||||
if (dataChunk.code == BT_COLLISIONOBJECT_CODE)
|
||||
{
|
||||
m_collisionObjects.push_back((bStructHandle*) id);
|
||||
|
||||
Reference in New Issue
Block a user