Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 20, 2008, 5:40:38 PM (16 years ago)
Author:
rgrieder
Message:

Downgraded Bullet to latest tagged version: 2.72
That should give us more stability.

File:
1 edited

Legend:

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

    r1963 r1972  
    3232        bool            m_isLocalAabbValid;
    3333
     34        btPolyhedralConvexShape();
    3435public:
    3536
    36         btPolyhedralConvexShape();
     37       
    3738
    3839        //brute force implementations
    39 
    4040        virtual btVector3       localGetSupportingVertexWithoutMargin(const btVector3& vec)const;
    4141        virtual void    batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const;
    42 
    4342       
    4443        virtual void    calculateLocalInertia(btScalar mass,btVector3& inertia) const;
    4544
    46 
    47         void setCachedLocalAabb (const btVector3& aabbMin, const btVector3& aabbMax)
    48         {
    49                 m_isLocalAabbValid = true;
    50                 m_localAabbMin = aabbMin;
    51                 m_localAabbMax = aabbMax;
    52         }
    53 
    54         inline void getCachedLocalAabb (btVector3& aabbMin, btVector3& aabbMax) const
    55         {
    56                 btAssert(m_isLocalAabbValid);
    57                 aabbMin = m_localAabbMin;
    58                 aabbMax = m_localAabbMax;
    59         }
    6045
    6146        inline void getNonvirtualAabb(const btTransform& trans,btVector3& aabbMin,btVector3& aabbMax, btScalar margin) const
Note: See TracChangeset for help on using the changeset viewer.