Home
last modified time | relevance | path

Searched refs:sphereShape (Results 1 – 3 of 3) sorted by relevance

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DBasicBulletTest.java137 btCollisionShape sphereShape = new btSphereShape(0.5f); in create() local
138 shapes.add(sphereShape); in create()
139 sphereShape.calculateLocalInertia(1f, tempVector); in create()
140 …btRigidBodyConstructionInfo sphereInfo = new btRigidBodyConstructionInfo(1f, null, sphereShape, te… in create()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtConvexShape.cpp326 btSphereShape* sphereShape = (btSphereShape*)this; in getMarginNonVirtual() local
327 return sphereShape->getRadius (); in getMarginNonVirtual()
380 btSphereShape* sphereShape = (btSphereShape*)this; in getAabbNonVirtual() local
381 …btScalar radius = sphereShape->getImplicitShapeDimensions().getX();// * convexShape->getLocalScali… in getAabbNonVirtual()
382 btScalar margin = radius + sphereShape->getMarginNonVirtual(); in getAabbNonVirtual()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorld.cpp1280 const btSphereShape* sphereShape = static_cast<const btSphereShape*>(shape); in debugDrawObject() local
1281 …btScalar radius = sphereShape->getMargin();//radius doesn't include the margin, so draw with margin in debugDrawObject()