X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftracktype.h;h=e43dc428f1867a217a19ef8204fdeb159d6caca7;hb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;hp=8a5123b27ba16b6d8566e95221f486733a19295b;hpb=c5f5ec54e81a6a85f911fa1075a0939a7352fbfd;p=r2c2.git diff --git a/source/3d/tracktype.h b/source/3d/tracktype.h index 8a5123b..e43dc42 100644 --- a/source/3d/tracktype.h +++ b/source/3d/tracktype.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa +Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -25,7 +25,7 @@ private: Msp::GL::Mesh *mesh; Msp::GL::Object *object; std::vector path_meshes; - std::vector border; + std::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