[ODE] If i don't use drawstuff, how can i do?

sssa2000 sssa2000 at 163.com
Tue Nov 7 20:26:58 MST 2006


i want to use my own draw function,
 
can i do like this?
 
int WINAPI WinMain( HINSTANCE hInstance,
                    HINSTANCE hPrevInstance,
                    LPSTR     lpCmdLine,
                    int       nCmdShow )
{
 ...
 InitGL();
 InitODE();
 while( uMsg.message != WM_QUIT )
 {
  if( PeekMessage( &uMsg, NULL, 0, 0, PM_REMOVE ) )
  {
   TranslateMessage( &uMsg );
   DispatchMessage( &uMsg );
  }
        else
  {
   simLoop(0);
   Render();
  }
 }
 ShutDown();
 .....
}
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20061108/2e6fe580/attachment.htm


More information about the ODE mailing list