[Plib-cvs] plib/examples/src/ssg/tux tux_example.cxx,1.5,1.6
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2002-09-10 04:37:42
|
Update of /cvsroot/plib/plib/examples/src/ssg/tux In directory usw-pr-cvs1:/tmp/cvs-serv15285/plib/examples/src/ssg/tux Modified Files: tux_example.cxx Log Message: Added #include processing. Index: tux_example.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/tux/tux_example.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- tux_example.cxx 1 Sep 2002 12:04:52 -0000 1.5 +++ tux_example.cxx 10 Sep 2002 04:37:39 -0000 1.6 @@ -68,7 +68,7 @@ */ sgSetCoord ( & campos, 0.0f, -5.0f, 1.0f, 25.0 * sin(frameno/100.0), 0.0f, 0.0f ) ; - sgSetCoord ( & tuxpos, 0.0f, 0.0f, 0.0f, frameno, 0.0f, 0.0f ) ; + sgSetCoord ( & tuxpos, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, frameno/100.0f ) ; ssgSetCamera ( & campos ) ; penguin -> setTransform ( & tuxpos ) ; |