Changeset 8284 for code/branches/kicklib2/src/external/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/external/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h
r5781 r8284 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. … … 28 28 BT_DECLARE_ALIGNED_ALLOCATOR(); 29 29 30 int m_numTriangles; 31 const unsigned char * m_triangleIndexBase; 32 int m_triangleIndexStride; 33 int m_numVertices; 34 const unsigned char * m_vertexBase; 35 int m_vertexStride; 36 // The index type is set when adding an indexed mesh to the 37 // btTriangleIndexVertexArray, do not set it manually 38 PHY_ScalarType m_indexType; 39 int pad; 30 int m_numTriangles; 31 const unsigned char * m_triangleIndexBase; 32 int m_triangleIndexStride; 33 int m_numVertices; 34 const unsigned char * m_vertexBase; 35 int m_vertexStride; 36 37 // The index type is set when adding an indexed mesh to the 38 // btTriangleIndexVertexArray, do not set it manually 39 PHY_ScalarType m_indexType; 40 41 // The vertex type has a default type similar to Bullet's precision mode (float or double) 42 // but can be set manually if you for example run Bullet with double precision but have 43 // mesh data in single precision.. 44 PHY_ScalarType m_vertexType; 45 46 47 btIndexedMesh() 48 :m_indexType(PHY_INTEGER), 49 #ifdef BT_USE_DOUBLE_PRECISION 50 m_vertexType(PHY_DOUBLE) 51 #else // BT_USE_DOUBLE_PRECISION 52 m_vertexType(PHY_FLOAT) 53 #endif // BT_USE_DOUBLE_PRECISION 54 { 55 } 40 56 } 41 57 ;
Note: See TracChangeset
for help on using the changeset viewer.