Home
last modified time | relevance | path

Searched refs:shapeData (Results 1 – 14 of 14) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtConvexHullShape.cpp179 btConvexHullShapeData* shapeData = (btConvexHullShapeData*) dataBuffer; in serialize() local
180 btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData, serializer); in serialize()
183 shapeData->m_numUnscaledPoints = numElem; in serialize()
185 shapeData->m_unscaledPointsFloatPtr = 0; in serialize()
186shapeData->m_unscaledPointsDoublePtr = numElem ? (btVector3Data*)serializer->getUniquePointer((voi… in serialize()
188shapeData->m_unscaledPointsFloatPtr = numElem ? (btVector3Data*)serializer->getUniquePointer((void… in serialize()
189 shapeData->m_unscaledPointsDoublePtr = 0; in serialize()
DbtConvexInternalShape.h168 btConvexInternalShapeData* shapeData = (btConvexInternalShapeData*) dataBuffer; in serialize() local
169 btCollisionShape::serialize(&shapeData->m_collisionShapeData, serializer); in serialize()
171 m_implicitShapeDimensions.serializeFloat(shapeData->m_implicitShapeDimensions); in serialize()
172 m_localScaling.serializeFloat(shapeData->m_localScaling); in serialize()
173 shapeData->m_collisionMargin = float(m_collisionMargin); in serialize()
DbtCompoundShape.cpp328 btCompoundShapeData* shapeData = (btCompoundShapeData*) dataBuffer; in serialize() local
329 btCollisionShape::serialize(&shapeData->m_collisionShapeData, serializer); in serialize()
331 shapeData->m_collisionMargin = float(m_collisionMargin); in serialize()
332 shapeData->m_numChildShapes = m_children.size(); in serialize()
333 shapeData->m_childShapePtr = 0; in serialize()
334 if (shapeData->m_numChildShapes) in serialize()
336 …btChunk* chunk = serializer->allocate(sizeof(btCompoundShapeChildData),shapeData->m_numChildShapes… in serialize()
338 shapeData->m_childShapePtr = (btCompoundShapeChildData*)serializer->getUniquePointer(memPtr); in serialize()
340 for (int i=0;i<shapeData->m_numChildShapes;i++,memPtr++) in serialize()
DbtCollisionShape.cpp101 btCollisionShapeData* shapeData = (btCollisionShapeData*) dataBuffer; in serialize() local
103 shapeData->m_name = (char*)serializer->getUniquePointer(name); in serialize()
104 if (shapeData->m_name) in serialize()
108 shapeData->m_shapeType = m_shapeType; in serialize()
DbtMultiSphereShape.cpp160 btMultiSphereShapeData* shapeData = (btMultiSphereShapeData*) dataBuffer; in serialize() local
161 btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData, serializer); in serialize()
164shapeData->m_localPositionArrayPtr = numElem ? (btPositionAndRadius*)serializer->getUniquePointer(… in serialize()
166 shapeData->m_localPositionArraySize = numElem; in serialize()
DbtConeShape.h161 btConeShapeData* shapeData = (btConeShapeData*) dataBuffer; in serialize() local
163 btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData,serializer); in serialize()
165 shapeData->m_upIndex = m_coneIndices[1]; in serialize()
DbtCapsuleShape.h176 btCapsuleShapeData* shapeData = (btCapsuleShapeData*) dataBuffer; in serialize() local
178 btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData,serializer); in serialize()
180 shapeData->m_upAxis = m_upAxis; in serialize()
DbtCylinderShape.h201 btCylinderShapeData* shapeData = (btCylinderShapeData*) dataBuffer; in serialize() local
203 btConvexInternalShape::serialize(&shapeData->m_convexInternalShapeData,serializer); in serialize()
205 shapeData->m_upAxis = m_upAxis; in serialize()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorldImporter.cpp68 btCollisionShapeData* shapeData = arrays->m_colShapeData[i]; in convertAllObjects() local
69 btCollisionShape* shape = convertCollisionShape(shapeData); in convertAllObjects()
73 m_shapeMap.insert(shapeData,shape); in convertAllObjects()
76 if (shape&& shapeData->m_name) in convertAllObjects()
78 char* newname = duplicateName(shapeData->m_name); in convertAllObjects()
260 btCollisionShape* btCollisionWorldImporter::convertCollisionShape( btCollisionShapeData* shapeData in convertCollisionShape() argument
264 switch (shapeData->m_shapeType) in convertCollisionShape()
268 btStaticPlaneShapeData* planeData = (btStaticPlaneShapeData*)shapeData; in convertCollisionShape()
279 btScaledTriangleMeshShapeData* scaledMesh = (btScaledTriangleMeshShapeData*) shapeData; in convertCollisionShape()
293 btGImpactMeshShapeData* gimpactData = (btGImpactMeshShapeData*) shapeData; in convertCollisionShape()
[all …]
DbtCollisionWorldImporter.h97 btCollisionShape* convertCollisionShape( btCollisionShapeData* shapeData );
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtBulletWorldImporter.cpp128 btCollisionShapeData* shapeData = (btCollisionShapeData*)bulletFile2->m_collisionShapes[i]; in convertAllObjects() local
129 btCollisionShape* shape = convertCollisionShape(shapeData); in convertAllObjects()
133 m_shapeMap.insert(shapeData,shape); in convertAllObjects()
136 if (shape&& shapeData->m_name) in convertAllObjects()
138 char* newname = duplicateName(shapeData->m_name); in convertAllObjects()
DbtWorldImporter.cpp149 btCollisionShape* btWorldImporter::convertCollisionShape( btCollisionShapeData* shapeData ) in convertCollisionShape() argument
153 switch (shapeData->m_shapeType) in convertCollisionShape()
157 btStaticPlaneShapeData* planeData = (btStaticPlaneShapeData*)shapeData; in convertCollisionShape()
168 btScaledTriangleMeshShapeData* scaledMesh = (btScaledTriangleMeshShapeData*) shapeData; in convertCollisionShape()
182 btGImpactMeshShapeData* gimpactData = (btGImpactMeshShapeData*) shapeData; in convertCollisionShape()
207 btCapsuleShapeData* capData = (btCapsuleShapeData*)shapeData; in convertCollisionShape()
248 btConvexInternalShapeData* bsd = (btConvexInternalShapeData*)shapeData; in convertCollisionShape()
254 switch (shapeData->m_shapeType) in convertCollisionShape()
272 btCylinderShapeData* cylData = (btCylinderShapeData*) shapeData; in convertCollisionShape()
304 btConeShapeData* conData = (btConeShapeData*) shapeData; in convertCollisionShape()
[all …]
DbtWorldImporter.h106 btCollisionShape* convertCollisionShape( btCollisionShapeData* shapeData );
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtSerializer.h853 btCollisionShapeData* shapeData = (btCollisionShapeData*) chunk->m_oldPtr; in finalizeChunk() local
854 m_arrays.m_colShapeData.push_back(shapeData); in finalizeChunk()