This commit is contained in:
ejcoumans 2006-10-29 18:54:09 +00:00
parent 0404ba51b3
commit 6232763f9e
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,6 @@
/// this demo will be modified to use the upcoming Bullet C-API, stay tuned.
/* Copyright (c) Mark J. Kilgard, 1994, 1997. */
/* This program is freely distributable without licensing fees

View File

@ -127,15 +127,15 @@ void btDiscreteDynamicsWorld::synchronizeMotionStates()
switch(colObj->GetActivationState())
{
case ACTIVE_TAG:
color = btVector3(255.f,255.f,255.f);
color = btVector3(255.f,255.f,255.f); break;
case ISLAND_SLEEPING:
color = btVector3(0.f,255.f,0.f);
color = btVector3(0.f,255.f,0.f);break;
case WANTS_DEACTIVATION:
color = btVector3(0.f,255.f,255.f);
color = btVector3(0.f,255.f,255.f);break;
case DISABLE_DEACTIVATION:
color = btVector3(255.f,0.f,0.f);
color = btVector3(255.f,0.f,0.f);break;
case DISABLE_SIMULATION:
color = btVector3(255.f,255.f,0.f);
color = btVector3(255.f,255.f,0.f);break;
default:
{
color = btVector3(255.f,0.f,0.f);