X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FScene.hh;h=ce57bcd7d2a92332ba9a8ea54314b86d8c4b875a;hb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e;hp=107e9938ca3131b18315e18c59894a5145f8f082;hpb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;p=chaz%2Fyoink diff --git a/src/Moof/Scene.hh b/src/Moof/Scene.hh index 107e993..ce57bcd 100644 --- a/src/Moof/Scene.hh +++ b/src/Moof/Scene.hh @@ -53,16 +53,21 @@ class Quad : public Entity Tilemap tilemap_; - long detail_; bool blending_; bool fog_; public: + enum SURFACE_TYPE + { + LEFT = 1, + RIGHT = 2, + TOP = 3 + }; + Quad(const Vector3 vertices[4], const std::string& texture, Tilemap::Index tileIndex) : tilemap_(texture), - detail_(0), blending_(false), fog_(false) { @@ -90,11 +95,6 @@ public: sphere_.radius = (aabb_.min - sphere_.point).length(); } - void setDetail(long detail) - { - detail_ = detail; - } - void setBlending(bool blending) { blending_ = blending;