Update of /cvsroot/plib/plib/demos/ode_demo
In directory usw-pr-cvs1:/tmp/cvs-serv11756/ode_demo
Added Files:
ode_demo.dsp ode_demo.dsw simple.cpp
Log Message:
created physics demo using ode and opcode
--- NEW FILE: ode_demo.dsp ---
# Microsoft Developer Studio Project File - Name="ode_demo" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 60000
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=ode_demo - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "ode_demo.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ode_demo.mak" CFG="ode_demo - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
[...570 lines suppressed...]
# End Source File
# Begin Source File
SOURCE=.\opcode\Opcode.h
# End Source File
# Begin Source File
SOURCE=.\opcode\StdAfx.cpp
# End Source File
# Begin Source File
SOURCE=.\opcode\StdAfx.h
# End Source File
# End Group
# Begin Source File
SOURCE=.\simple.cpp
# End Source File
# End Target
# End Project
--- NEW FILE: ode_demo.dsw ---
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "ode_demo"=.\ode_demo.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
--- NEW FILE: simple.cpp ---
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#else
# include <unistd.h>
#endif
#include <math.h>
#include <plib/ssg.h>
#include <plib/pu.h>
#include <plib/ssgAux.h>
#ifdef FREEGLUT_IS_PRESENT
# include <GL/freeglut.h>
#else
# ifdef __APPLE__
[...541 lines suppressed...]
/*
The works.
*/
int main ( int, char ** )
{
init_graphics ();
init_world ();
init_gui ();
glutMainLoop () ;
dJointGroupDestroy (contactgroup);
dSpaceDestroy (space);
dWorldDestroy (world);
return 0 ;
}
|