From bb4b099583181097f86b62b8120d41f093b490d6 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Thu, 27 Jul 2006 01:45:06 +0000 Subject: [PATCH] --- Demos/ColladaDemo/ColladaDemo.cpp | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/Demos/ColladaDemo/ColladaDemo.cpp b/Demos/ColladaDemo/ColladaDemo.cpp index de57ceecf..cbe3f57c5 100644 --- a/Demos/ColladaDemo/ColladaDemo.cpp +++ b/Demos/ColladaDemo/ColladaDemo.cpp @@ -1517,7 +1517,7 @@ int main(int argc,char** argv) setCameraDistance(26.f); - return glutmain(argc, argv,640,480,"Bullet Collada Physics Viewer. http://www.continuousphysics.com/Bullet/phpBB2/"); + return glutmain(argc, argv,640,480,"Bullet COLLADA Physics Viewer http://bullet.sourceforge.net"); } //to be implemented by the demo @@ -1673,15 +1673,14 @@ void renderme() //<< std::endl; - - glRasterPos3f(xOffset,yStart,0); - sprintf(buf,"mouse to interact"); - BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); - yStart += yIncr; - SimdVector3 textPos = offset + up*yStart; glRasterPos3f(textPos.getX(),textPos.getY(),textPos.getZ()); + sprintf(buf,"mouse to interact"); + BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); + yStart += yIncr; + textPos = offset + up*yStart; + glRasterPos3f(textPos.getX(),textPos.getY(),textPos.getZ()); sprintf(buf,"space to reset"); BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); yStart += yIncr; @@ -1721,6 +1720,18 @@ void renderme() BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); yStart += yIncr; + textPos = offset + up*yStart ; + glRasterPos3f(textPos.getX(),textPos.getY(),textPos.getZ()); + sprintf(buf,"e to export COLLADA 1.4 physics snapshot"); + BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); + yStart += yIncr; + + textPos = offset + up*yStart ; + glRasterPos3f(textPos.getX(),textPos.getY(),textPos.getZ()); + sprintf(buf,"c to show contact points (wireframe more)"); + BMF_DrawString(BMF_GetFont(BMF_kHelvetica10),buf); + yStart += yIncr; + textPos = offset + up*yStart ; glRasterPos3f(textPos.getX(),textPos.getY(),textPos.getZ());