Searched refs:sphereShape (Results 1 – 3 of 3) sorted by relevance
137 btCollisionShape sphereShape = new btSphereShape(0.5f); in create() local138 shapes.add(sphereShape); in create()139 sphereShape.calculateLocalInertia(1f, tempVector); in create()140 …btRigidBodyConstructionInfo sphereInfo = new btRigidBodyConstructionInfo(1f, null, sphereShape, te… in create()
326 btSphereShape* sphereShape = (btSphereShape*)this; in getMarginNonVirtual() local327 return sphereShape->getRadius (); in getMarginNonVirtual()380 btSphereShape* sphereShape = (btSphereShape*)this; in getAabbNonVirtual() local381 …btScalar radius = sphereShape->getImplicitShapeDimensions().getX();// * convexShape->getLocalScali… in getAabbNonVirtual()382 btScalar margin = radius + sphereShape->getMarginNonVirtual(); in getAabbNonVirtual()
1280 const btSphereShape* sphereShape = static_cast<const btSphereShape*>(shape); in debugDrawObject() local1281 …btScalar radius = sphereShape->getMargin();//radius doesn't include the margin, so draw with margin in debugDrawObject()