Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 11:45:51 PM (16 years ago)
Author:
rgrieder
Message:

Updated to Bullet 2.73 (first part).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btSphereShape.h

    r2192 r2430  
    2828        BT_DECLARE_ALIGNED_ALLOCATOR();
    2929
    30         btSphereShape (btScalar radius);
    31        
     30        btSphereShape (btScalar radius) : btConvexInternalShape ()
     31        {
     32                m_shapeType = SPHERE_SHAPE_PROXYTYPE;
     33                m_implicitShapeDimensions.setX(radius);
     34                m_collisionMargin = radius;
     35        }
    3236       
    3337        virtual btVector3       localGetSupportingVertex(const btVector3& vec)const;
Note: See TracChangeset for help on using the changeset viewer.