Changeset 1972 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp
- 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.cpp
r1963 r1972 18 18 #include "LinearMath/btQuaternion.h" 19 19 20 btConvexPointCloudShape::btConvexPointCloudShape (btVector3* points,int numPoints) : btPolyhedralConvexShape () 21 { 22 m_shapeType = CONVEX_POINT_CLOUD_SHAPE_PROXYTYPE; 23 m_points = points; 24 m_numPoints = numPoints; 25 26 recalcLocalAabb(); 27 } 28 29 void btConvexPointCloudShape::setPoints (btVector3* points, int numPoints) 30 { 31 m_points = points; 32 m_numPoints = numPoints; 33 34 recalcLocalAabb(); 35 } 36 37 20 38 void btConvexPointCloudShape::setLocalScaling(const btVector3& scaling) 21 39 { … … 24 42 } 25 43 26 #ifndef __SPU__27 44 btVector3 btConvexPointCloudShape::localGetSupportingVertexWithoutMargin(const btVector3& vec0)const 28 45 { … … 108 125 109 126 110 #endif 127 111 128 112 129
Note: See TracChangeset
for help on using the changeset viewer.