]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/engineer.cpp
Rename Point to Vector
[r2c2.git] / source / engineer / engineer.cpp
index 90cb8eb7007fbb9ab08e62924888e42f546d6680..fad61693aef66161e1822dc18f7e8a209f7d33af 100644 (file)
@@ -237,7 +237,7 @@ void Engineer::tick()
                GL::PushMatrix push_mat;
 
                float rot = picking_track->get_endpoint_direction(picking_entry);
-               Point pos = picking_track->get_endpoint_position(picking_entry);
+               Vector pos = picking_track->get_endpoint_position(picking_entry);
 
                GL::translate(pos.x, pos.y, pos.z+0.03);
                GL::rotate(rot*180/M_PI+180, 0, 0, 1);
@@ -338,7 +338,7 @@ void Engineer::view_all()
                float max_y = 0;
                for(Layout3D::TrackMap::const_iterator i=tracks.begin(); i!=tracks.end(); ++i)
                {
-                       Point minp, maxp;
+                       Vector minp, maxp;
                        i->second->get_bounds(angle, minp, maxp);
                        min_x = min(min_x, minp.x);
                        max_x = max(max_x, maxp.x);