Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btSphereShape.cpp
- Timestamp:
- Dec 13, 2008, 11:45:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btSphereShape.cpp
r2192 r2430 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 }28 20 29 21 btVector3 btSphereShape::localGetSupportingVertexWithoutMargin(const btVector3& vec)const
Note: See TracChangeset
for help on using the changeset viewer.