Changeset 1972 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.h
- Timestamp:
- Oct 20, 2008, 5:40:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.h
r1963 r1972 29 29 BT_DECLARE_ALIGNED_ALLOCATOR(); 30 30 31 btConvexPointCloudShape(btVector3* points,int numPoints, bool computeAabb = true) 32 { 33 m_shapeType = CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE; 34 m_points = points; 35 m_numPoints = numPoints; 31 btConvexPointCloudShape(btVector3* points,int numPoints); 36 32 37 if (computeAabb) 38 recalcLocalAabb(); 39 } 40 41 void setPoints (btVector3* points, int numPoints, bool computeAabb = true) 42 { 43 m_points = points; 44 m_numPoints = numPoints; 45 46 if (computeAabb) 47 recalcLocalAabb(); 48 } 33 void setPoints (btVector3* points, int numPoints); 49 34 50 35 btPoint3* getPoints() … … 63 48 } 64 49 65 #ifndef __SPU__66 50 virtual btVector3 localGetSupportingVertex(const btVector3& vec)const; 67 51 virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3& vec)const; 68 52 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3* vectors,btVector3* supportVerticesOut,int numVectors) const; 69 #endif70 53 71 54
Note: See TracChangeset
for help on using the changeset viewer.