fixes in debug drawer: always use rgba color with each component in range [0..1]

use sphere/box rendering of debug drawer
Thanks accodejockey for the report: See http://code.google.com/p/bullet/issues/detail?id=280
Also see http://code.google.com/p/bullet/issues/detail?id=279
This commit is contained in:
erwin.coumans
2010-01-19 19:38:18 +00:00
parent c6df06c6a1
commit 96d73d642d
8 changed files with 68 additions and 61 deletions

View File

@@ -154,8 +154,6 @@ public:
virtual void debugDrawObject(const btTransform& worldTransform, const btCollisionShape* shape, const btVector3& color);
void debugDrawSphere(btScalar radius, const btTransform& transform, const btVector3& color);
///LocalShapeInfo gives extra information for complex shapes
///Currently, only btTriangleMeshShape is available, so it just contains triangleIndex and subpart