~ubuntu-branches/ubuntu/quantal/plib-doc/quantal

« back to all changes in this revision

Viewing changes to src/ssg/load_save/load.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2009-05-12 12:57:02 UTC
  • mfrom: (5.3.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090512125702-fi6wbf9dm756fwzp
Tags: 1:1.8.5-3
Fix watch file. Closes: #528355.
Thanks to Chris Lamb <lamby@debian.org>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
     For further information visit http://plib.sourceforge.net
20
20
 
21
 
     $Id: load.cxx,v 1.4 2002/09/01 12:04:52 ude Exp $
 
21
     $Id: load.cxx 2099 2006-11-03 20:04:40Z fayjf $
22
22
*/
23
23
 
24
24
 
66
66
    Spin Tux, make the camera pan sinusoidally left and right
67
67
  */
68
68
 
69
 
  sgSetCoord ( & campos, 0.0f, -5.0f, 1.0f, 25.0 * sin(frameno/100.0), 0.0f, 0.0f ) ;
70
 
  sgSetCoord ( & tuxpos, 0.0f,  0.0f, 0.0f, frameno, 0.0f, 0.0f ) ;
 
69
  sgSetCoord ( & campos, 0.0f, -5.0f, 1.0f, 25.0f * (float)sin(frameno/100.0), 0.0f, 0.0f ) ;
 
70
  sgSetCoord ( & tuxpos, 0.0f,  0.0f, 0.0f, (float)frameno, 0.0f, 0.0f ) ;
71
71
 
72
72
  ssgSetCamera ( & campos ) ;
73
73
  penguin -> setTransform ( & tuxpos ) ;