Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3017 in orxonox.OLD for orxonox/branches/bezierTrack/src/track.cc


Ignore:
Timestamp:
Nov 27, 2004, 8:18:01 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/bezierTrack: fixed small error with k++, ++k.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/bezierTrack/src/track.cc

    r3015 r3017  
    8383void Track::map_camera (Location* lookat, Placement* camplc)
    8484{
    85   t+=.0001;
    86   if (t> 1) t =0;
    8785  //  Line trace(*offset, *end - *offset);
    8886  //  float l = trace.len ();
     
    120118bool Track::map_coords (Location* loc, Placement* plc)
    121119{
     120  t+=.0001;
     121  if (t > 1) t =0;
     122  //  printf ("Pos: %f, %f, %f\n", curve.calcPos(t).x, curve.calcPos(t).y, curve.calcPos(t).z);
    122123  //Line trace(*offset, *end - *offset);
    123124  //    float l = trace.len ();
Note: See TracChangeset for help on using the changeset viewer.