X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftracktype.h;h=952e8986b17365ee52112fd25a03b9b02e4f0c86;hb=54392d65e2053d1eacb4cfcc435f1013993f2973;hp=10806470b28e5c74dbcd65c9081b28638768b0a8;hpb=754ac497179474d0266b55e881a084fef7d5d6a1;p=r2c2.git diff --git a/source/3d/tracktype.h b/source/3d/tracktype.h index 1080647..952e898 100644 --- a/source/3d/tracktype.h +++ b/source/3d/tracktype.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef R2C2_3D_TRACKTYPE_H_ #define R2C2_3D_TRACKTYPE_H_ @@ -24,21 +17,18 @@ private: Catalogue3D &catalogue; Msp::GL::Mesh *mesh; Msp::GL::Object *object; + bool own_data; std::vector path_meshes; - std::vector border; - float min_z; - float max_z; public: TrackType3D(Catalogue3D &, const TrackType &); ~TrackType3D(); - void get_bounds(float, Point &, Point &) 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