From 56b560bb6c26181eb863f7ace82591fbd9b70d08 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 3 Oct 2008 20:51:56 +0000 Subject: Move the Solaris workaround in btScalar behind the sun define, to only make sun and apple ppc slower: #if defined (__sun) || defined (__sun__) || defined (__sparc) || (defined (__APPLE__) && ! defined (__i386__)) Also includes a fix to uninitialized variable (can cause failing collisions). If possible, report all changes to extern/bullet2 to http://code.google.com/p/bullet/issues/list --- .../src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'extern/bullet2/src/BulletCollision') diff --git a/extern/bullet2/src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp b/extern/bullet2/src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp index 8d634a67143..b962829041a 100644 --- a/extern/bullet2/src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp +++ b/extern/bullet2/src/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp @@ -16,6 +16,7 @@ subject to the following restrictions: #include "btTriangleIndexVertexArray.h" btTriangleIndexVertexArray::btTriangleIndexVertexArray(int numTriangles,int* triangleIndexBase,int triangleIndexStride,int numVertices,btScalar* vertexBase,int vertexStride) +: m_hasAabb(0) { btIndexedMesh mesh; -- cgit v1.2.3