Changeset 1972 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btSphereShape.cpp
- Timestamp:
- Oct 20, 2008, 5:40:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btSphereShape.cpp
r1963 r1972 18 18 19 19 #include "LinearMath/btQuaternion.h" 20 21 22 btSphereShape ::btSphereShape (btScalar radius) : btConvexInternalShape () 23 { 24 m_shapeType = SPHERE_SHAPE_PROXYTYPE; 25 m_implicitShapeDimensions.setX(radius); 26 m_collisionMargin = radius; 27 } 20 28 21 29 btVector3 btSphereShape::localGetSupportingVertexWithoutMargin(const btVector3& vec)const
Note: See TracChangeset
for help on using the changeset viewer.