コード例 #1
0
void	btDiscreteDynamicsWorld::serialize(btSerializer* serializer)
{

	serializer->startSerialization();

	serializeRigidBodies(serializer);

	serializeCollisionObjects(serializer);

	serializer->finishSerialization();
}
コード例 #2
0
void btSoftRigidDynamicsWorld::serialize(btSerializer* serializer)
{
	serializer->startSerialization();

	serializeDynamicsWorldInfo(serializer);

	serializeSoftBodies(serializer);

	serializeRigidBodies(serializer);

	serializeCollisionObjects(serializer);

	serializer->finishSerialization();
}