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/NarrowPhaseCollision/btVoronoiSimplexSolver.h

    r2192 r2430  
    5151struct  btSubSimplexClosestResult
    5252{
    53         btPoint3        m_closestPointOnSimplex;
     53        btVector3       m_closestPointOnSimplex;
    5454        //MASK for m_usedVertices
    5555        //stores the simplex vertex-usage, using the MASK,
     
    9898
    9999        btVector3       m_simplexVectorW[VORONOI_SIMPLEX_MAX_VERTS];
    100         btPoint3        m_simplexPointsP[VORONOI_SIMPLEX_MAX_VERTS];
    101         btPoint3        m_simplexPointsQ[VORONOI_SIMPLEX_MAX_VERTS];
     100        btVector3       m_simplexPointsP[VORONOI_SIMPLEX_MAX_VERTS];
     101        btVector3       m_simplexPointsQ[VORONOI_SIMPLEX_MAX_VERTS];
    102102
    103103       
    104104
    105         btPoint3        m_cachedP1;
    106         btPoint3        m_cachedP2;
     105        btVector3       m_cachedP1;
     106        btVector3       m_cachedP2;
    107107        btVector3       m_cachedV;
    108108        btVector3       m_lastW;
     
    117117        bool    updateClosestVectorAndPoints();
    118118
    119         bool    closestPtPointTetrahedron(const btPoint3& p, const btPoint3& a, const btPoint3& b, const btPoint3& c, const btPoint3& d, btSubSimplexClosestResult& finalResult);
    120         int             pointOutsideOfPlane(const btPoint3& p, const btPoint3& a, const btPoint3& b, const btPoint3& c, const btPoint3& d);
    121         bool    closestPtPointTriangle(const btPoint3& p, const btPoint3& a, const btPoint3& b, const btPoint3& c,btSubSimplexClosestResult& result);
     119        bool    closestPtPointTetrahedron(const btVector3& p, const btVector3& a, const btVector3& b, const btVector3& c, const btVector3& d, btSubSimplexClosestResult& finalResult);
     120        int             pointOutsideOfPlane(const btVector3& p, const btVector3& a, const btVector3& b, const btVector3& c, const btVector3& d);
     121        bool    closestPtPointTriangle(const btVector3& p, const btVector3& a, const btVector3& b, const btVector3& c,btSubSimplexClosestResult& result);
    122122
    123123public:
     
    125125         void reset();
    126126
    127          void addVertex(const btVector3& w, const btPoint3& p, const btPoint3& q);
     127         void addVertex(const btVector3& w, const btVector3& p, const btVector3& q);
    128128
    129129
     
    137137         }
    138138
    139          int getSimplex(btPoint3 *pBuf, btPoint3 *qBuf, btVector3 *yBuf) const;
     139         int getSimplex(btVector3 *pBuf, btVector3 *qBuf, btVector3 *yBuf) const;
    140140
    141141         bool inSimplex(const btVector3& w);
     
    145145         bool emptySimplex() const ;
    146146
    147          void compute_points(btPoint3& p1, btPoint3& p2) ;
     147         void compute_points(btVector3& p1, btVector3& p2) ;
    148148
    149149         int numVertices() const
Note: See TracChangeset for help on using the changeset viewer.