Changeset 7983 for code/branches/kicklib/src/external/bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp
- 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/btTriangleIndexVertexArray.cpp
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. 6 6 In no event will the authors be held liable for any damages arising from the use of this software. 7 Permission is granted to anyone to use this software for any purpose, 8 including commercial applications, and to alter it and redistribute it freely, 7 Permission is granted to anyone to use this software for any purpose, 8 including commercial applications, and to alter it and redistribute it freely, 9 9 subject to the following restrictions: 10 10 … … 45 45 numverts = mesh.m_numVertices; 46 46 (*vertexbase) = (unsigned char *) mesh.m_vertexBase; 47 #ifdef BT_USE_DOUBLE_PRECISION 48 type = PHY_DOUBLE; 49 #else 50 type = PHY_FLOAT; 51 #endif 47 48 type = mesh.m_vertexType; 49 52 50 vertexStride = mesh.m_vertexStride; 53 51 … … 65 63 numverts = mesh.m_numVertices; 66 64 (*vertexbase) = (const unsigned char *)mesh.m_vertexBase; 67 #ifdef BT_USE_DOUBLE_PRECISION 68 type = PHY_DOUBLE; 69 #else 70 type = PHY_FLOAT; 71 #endif 65 66 type = mesh.m_vertexType; 67 72 68 vertexStride = mesh.m_vertexStride; 73 69
Note: See TracChangeset
for help on using the changeset viewer.