]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/tracktype.h
Rename Point to Vector
[r2c2.git] / source / 3d / tracktype.h
index 10806470b28e5c74dbcd65c9081b28638768b0a8..e43dc428f1867a217a19ef8204fdeb159d6caca7 100644 (file)
@@ -25,7 +25,7 @@ private:
        Msp::GL::Mesh *mesh;
        Msp::GL::Object *object;
        std::vector<Msp::GL::Mesh *> path_meshes;
-       std::vector<Point> border;
+       std::vector<Vector> border;
        float min_z;
        float max_z;
 
@@ -33,12 +33,12 @@ public:
        TrackType3D(Catalogue3D &, const TrackType &);
        ~TrackType3D();
 
-       void get_bounds(float, Point &, Point &) const;
+       void get_bounds(float, Vector &, Vector &) const;
        const Msp::GL::Object &get_object() const { return *object; }
        const Msp::GL::Mesh &get_path_mesh(unsigned) const;
 
 private:
-       void build_part(const TrackPart &, const Profile &, const Point &, bool, Msp::GL::MeshBuilder &, unsigned &);
+       void build_part(const TrackPart &, const Profile &, const Vector &, bool, Msp::GL::MeshBuilder &, unsigned &);
 };
 
 } // namespace R2C2