X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2F3d%2Fobject.h;h=aa6698799b4ba97c616a8c1e94423105d5d489f2;hb=7a36d396eded897c421424905b2c938d770df341;hp=8b9353d06e4b5879445a04e1ab31f670e7f4f1af;hpb=dcfa1e9503b7e97b61396d7458f0b2e5896779cd;p=r2c2.git diff --git a/source/3d/object.h b/source/3d/object.h index 8b9353d..aa66987 100644 --- a/source/3d/object.h +++ b/source/3d/object.h @@ -1,16 +1,9 @@ -/* $Id$ +#ifndef R2C2_3D_OBJECT_H_ +#define R2C2_3D_OBJECT_H_ -This file is part of the MSP Märklin suite -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ +#include "libr2c2/geometry.h" -#ifndef MARKLIN3D_OBJECT_H_ -#define MARKLIN3D_OBJECT_H_ - -#include "libmarklin/geometry.h" - -namespace Marklin { +namespace R2C2 { class Object3D { @@ -19,9 +12,10 @@ protected: public: virtual ~Object3D() { } - virtual Point get_node() const = 0; + virtual Vector get_node() const = 0; + virtual bool is_visible() const = 0; }; -} // namespace Marklin +} // namespace R2C2 #endif