Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btTriangleShape.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/btTriangleShape.h
r2192 r2430 47 47 } 48 48 49 virtual void getEdge(int i,bt Point3& pa,btPoint3& pb) const49 virtual void getEdge(int i,btVector3& pa,btVector3& pb) const 50 50 { 51 51 getVertex(i,pa); … … 89 89 90 90 91 virtual void getPlane(btVector3& planeNormal,bt Point3& planeSupport,int i) const91 virtual void getPlane(btVector3& planeNormal,btVector3& planeSupport,int i) const 92 92 { 93 93 getPlaneEquation(i,planeNormal,planeSupport); … … 105 105 } 106 106 107 virtual void getPlaneEquation(int i, btVector3& planeNormal,bt Point3& planeSupport) const107 virtual void getPlaneEquation(int i, btVector3& planeNormal,btVector3& planeSupport) const 108 108 { 109 109 (void)i; … … 119 119 } 120 120 121 virtual bool isInside(const bt Point3& pt,btScalar tolerance) const121 virtual bool isInside(const btVector3& pt,btScalar tolerance) const 122 122 { 123 123 btVector3 normal; … … 133 133 for (i=0;i<3;i++) 134 134 { 135 bt Point3 pa,pb;135 btVector3 pa,pb; 136 136 getEdge(i,pa,pb); 137 137 btVector3 edge = pb-pa;
Note: See TracChangeset
for help on using the changeset viewer.