Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 11:45:51 PM (17 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/btConvexShape.h

    r2192 r2430  
    2525#include "LinearMath/btAlignedAllocator.h"
    2626
    27 //todo: get rid of this btConvexCastResult thing!
    28 struct btConvexCastResult;
    2927#define MAX_PREFERRED_PENETRATION_DIRECTIONS 10
    3028
     
    3937        BT_DECLARE_ALIGNED_ALLOCATOR();
    4038
    41         btConvexShape ()
    42         {
    43         }
     39        btConvexShape ();
    4440
    45         virtual ~btConvexShape()
    46         {
     41        virtual ~btConvexShape();
    4742
    48         }
     43        virtual btVector3       localGetSupportingVertex(const btVector3& vec)const = 0;
    4944
    50 
    51         virtual btVector3       localGetSupportingVertex(const btVector3& vec)const =0;
    52 #ifndef __SPU__
    53         virtual btVector3       localGetSupportingVertexWithoutMargin(const btVector3& vec) const= 0;
    54        
    55         //notice that the vectors should be unit length
    56         virtual void    batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const= 0;
    57 #endif //#ifndef __SPU__
     45        ////////
     46        #ifndef __SPU__
     47        virtual btVector3       localGetSupportingVertexWithoutMargin(const btVector3& vec) const=0;
     48        #endif //#ifndef __SPU__
    5849
    5950        btVector3 localGetSupportVertexWithoutMarginNonVirtual (const btVector3& vec) const;
     
    6152        btScalar getMarginNonVirtual () const;
    6253        void getAabbNonVirtual (const btTransform& t, btVector3& aabbMin, btVector3& aabbMax) const;
     54
     55       
     56        //notice that the vectors should be unit length
     57        virtual void    batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const= 0;
    6358
    6459        ///getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
     
    7873        virtual void    getPreferredPenetrationDirection(int index, btVector3& penetrationVector) const=0;
    7974
     75
     76       
     77       
    8078};
    8179
Note: See TracChangeset for help on using the changeset viewer.