Changeset 7983 for code/branches/kicklib/src/external/bullet/BulletCollision/CollisionShapes/btTriangleShape.h
- Timestamp:
- Feb 27, 2011, 7:43:24 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/external/bullet/BulletCollision/CollisionShapes/btTriangleShape.h
r5781 r7983 1 1 /* 2 2 Bullet Continuous Collision Detection and Physics Library 3 Copyright (c) 2003-200 6 Erwin Coumans http://continuousphysics.com/Bullet/3 Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org 4 4 5 5 This software is provided 'as-is', without any express or implied warranty. … … 20 20 #include "btBoxShape.h" 21 21 22 classbtTriangleShape : public btPolyhedralConvexShape22 ATTRIBUTE_ALIGNED16(class) btTriangleShape : public btPolyhedralConvexShape 23 23 { 24 24 … … 31 31 { 32 32 return 3; 33 } 34 35 btVector3& getVertexPtr(int index) 36 { 37 return m_vertices1[index]; 33 38 } 34 39 … … 78 83 } 79 84 80 85 btTriangleShape() : btPolyhedralConvexShape () 86 { 87 m_shapeType = TRIANGLE_SHAPE_PROXYTYPE; 88 } 81 89 82 90 btTriangleShape(const btVector3& p0,const btVector3& p1,const btVector3& p2) : btPolyhedralConvexShape ()
Note: See TracChangeset
for help on using the changeset viewer.