X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fobject.h;h=aa6ce80aaf81641a05b1df13d420852240fbfeb1;hb=b3cc0d29a0fda2d48443d66881214c81a04b1729;hp=5696627f7e8e59a9285178dbdb43d6c13b939eea;hpb=f23c8d8cbc4e72b45e3a719b2cf974ce35d054e9;p=r2c2.git diff --git a/source/3d/object.h b/source/3d/object.h index 5696627..aa6ce80 100644 --- a/source/3d/object.h +++ b/source/3d/object.h @@ -8,15 +8,21 @@ namespace R2C2 { +class Layout3D; + class Object3D: public sigc::trackable { protected: + Layout3D &layout; Object &object; Msp::GL::Matrix matrix; - Object3D(Object &); + Object3D(Layout3D &, Object &); public: - virtual ~Object3D() { } + virtual ~Object3D(); + + Layout3D &get_layout() const { return layout; } + Object &get_object() const { return object; } const Msp::GL::Matrix &get_matrix() const { return matrix; } virtual Vector get_node() const = 0;