]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/beamgate.cpp
Rename TrackPoint to a more generic OrientedPoint
[r2c2.git] / source / libr2c2 / beamgate.cpp
index bb382ffe89c04681dd559c52ca844621229a2109..ad559120f491c22a45d4c6337bbdce2aab639912 100644 (file)
@@ -54,9 +54,9 @@ void BeamGate::update_attachment()
 
        if(track)
        {
-               TrackPoint tp = track.point();
-               position = tp.pos;
-               rotation = tp.dir;
+               OrientedPoint p = track.point();
+               position = p.position;
+               rotation = p.rotation;
        }
 }