[Plib-cvs] plib/examples/src/ssg/dynamics Makefile.am,NONE,1.1 dynamics.cxx,NONE,1.1
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2002-08-11 17:53:52
|
Update of /cvsroot/plib/plib/examples/src/ssg/dynamics In directory usw-pr-cvs1:/tmp/cvs-serv29899/plib/examples/src/ssg/dynamics Added Files: Makefile.am dynamics.cxx Log Message: Lots of Typo's. --- NEW FILE: Makefile.am --- noinst_PROGRAMS = dynamics dynamics_SOURCES = dynamics.cxx dynamics_LDADD = -lplibpu -lplibfnt -lplibssgaux -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = dynamics.dsp --- NEW FILE: dynamics.cxx --- #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #ifdef WIN32 #include <windows.h> #else #include <unistd.h> #endif #include <math.h> #include <plib/ssg.h> #include <plib/ssgAux.h> #include <GL/glut.h> #define GUI_BASE 80 #define VIEW_GUI_BASE 20 #define FONT_COLOUR 1,1,1,1 ssgRoot *scene = NULL ; [...298 lines suppressed...] scene -> addKid ( ocean ) ; initSMD () ; } /* The works. */ int main ( int, char ** ) { init_graphics () ; load_database () ; glutMainLoop () ; return 0 ; } |