Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btTetrahedronShape.h
- 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/btTetrahedronShape.h
r2192 r2430 28 28 29 29 int m_numVertices; 30 bt Point3 m_vertices[4];30 btVector3 m_vertices[4]; 31 31 32 32 public: 33 33 btBU_Simplex1to4(); 34 34 35 btBU_Simplex1to4(const bt Point3& pt0);36 btBU_Simplex1to4(const bt Point3& pt0,const btPoint3& pt1);37 btBU_Simplex1to4(const bt Point3& pt0,const btPoint3& pt1,const btPoint3& pt2);38 btBU_Simplex1to4(const bt Point3& pt0,const btPoint3& pt1,const btPoint3& pt2,const btPoint3& pt3);35 btBU_Simplex1to4(const btVector3& pt0); 36 btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1); 37 btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2); 38 btBU_Simplex1to4(const btVector3& pt0,const btVector3& pt1,const btVector3& pt2,const btVector3& pt3); 39 39 40 40 … … 46 46 47 47 48 void addVertex(const bt Point3& pt);48 void addVertex(const btVector3& pt); 49 49 50 50 //PolyhedralConvexShape interface … … 54 54 virtual int getNumEdges() const; 55 55 56 virtual void getEdge(int i,bt Point3& pa,btPoint3& pb) const;56 virtual void getEdge(int i,btVector3& pa,btVector3& pb) const; 57 57 58 virtual void getVertex(int i,bt Point3& vtx) const;58 virtual void getVertex(int i,btVector3& vtx) const; 59 59 60 60 virtual int getNumPlanes() const; 61 61 62 virtual void getPlane(btVector3& planeNormal,bt Point3& planeSupport,int i) const;62 virtual void getPlane(btVector3& planeNormal,btVector3& planeSupport,int i) const; 63 63 64 64 virtual int getIndex(int i) const; 65 65 66 virtual bool isInside(const bt Point3& pt,btScalar tolerance) const;66 virtual bool isInside(const btVector3& pt,btScalar tolerance) const; 67 67 68 68
Note: See TracChangeset
for help on using the changeset viewer.