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:
@@ -78,10 +78,10 @@ void btQuantizedBvh::buildInternal()
|
||||
#ifdef DEBUG_PATCH_COLORS
|
||||
btVector3 color[4]=
|
||||
{
|
||||
btVector3(255,0,0),
|
||||
btVector3(0,255,0),
|
||||
btVector3(0,0,255),
|
||||
btVector3(0,255,255)
|
||||
btVector3(1,0,0),
|
||||
btVector3(0,1,0),
|
||||
btVector3(0,0,1),
|
||||
btVector3(0,1,1)
|
||||
};
|
||||
#endif //DEBUG_PATCH_COLORS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user