add single step simulation, using 'o' key. use 'i' key to suspend simulation first

default background color a bit darker, to show debug lines
tweaked contact point rendering a bit
This commit is contained in:
erwin coumans
2016-08-19 10:30:02 -07:00
parent a68c9ca845
commit 62d5b7c5c0
9 changed files with 174 additions and 122 deletions

View File

@@ -66,9 +66,9 @@ struct CommonGraphicsApp
m_mouseYpos(0.f),
m_mouseInitialized(false)
{
m_backgroundColorRGB[0] = 0.9;
m_backgroundColorRGB[1] = 0.9;
m_backgroundColorRGB[2] = 1;
m_backgroundColorRGB[0] = 0.7;
m_backgroundColorRGB[1] = 0.7;
m_backgroundColorRGB[2] = 0.8;
}
virtual ~CommonGraphicsApp()
{