From c4cd297f22b39ee4214b2d5bf9db419ffa8b0b22 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Mon, 19 Jun 2006 22:03:07 +0000 Subject: [PATCH] step the simulation 1 frame, so the initial starting position is ok. added comment how to use FCollada instead of COLLADA_DOM --- Demos/ColladaDemo/ColladaDemo.cpp | 7 +++++++ Demos/OpenGL/GlutStuff.cpp | 1 + 2 files changed, 8 insertions(+) diff --git a/Demos/ColladaDemo/ColladaDemo.cpp b/Demos/ColladaDemo/ColladaDemo.cpp index 534eb8c25..1e2dd046b 100644 --- a/Demos/ColladaDemo/ColladaDemo.cpp +++ b/Demos/ColladaDemo/ColladaDemo.cpp @@ -47,6 +47,13 @@ extern int gForwardAxis; #include "GLDebugDrawer.h" //either FCollada or COLLADA_DOM + +//COLLADA_DOM and LibXML source code are included in Extras/ folder. +//COLLADA_DOM should compile under all platforms, and is enabled by default. + +//If you want to compile with FCollada (under windows), add the FCollada sourcecode +//in Extras/FCollada, and define USE_FOLLADE, and include the library. + //#define USE_FCOLLADA 1 #ifdef USE_FCOLLADA diff --git a/Demos/OpenGL/GlutStuff.cpp b/Demos/OpenGL/GlutStuff.cpp index 130eb2a09..c09cc3027 100644 --- a/Demos/OpenGL/GlutStuff.cpp +++ b/Demos/OpenGL/GlutStuff.cpp @@ -370,6 +370,7 @@ int glutmain(int argc, char **argv,int width,int height,const char* title) { glutMotionFunc(clientMotionFunc); glutDisplayFunc( clientDisplay ); + clientMoveAndDisplay(); glutMainLoop(); return 0;