X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FScene.hh;h=4c4f29775b2ae21033fb69e8e9017b2ee542c5ff;hp=66a54a97936c22c543203780b9a110cb076c9261;hb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4;hpb=c2321281bf12a7efaedde930422c7ddbc92080d4 diff --git a/src/Moof/Scene.hh b/src/Moof/Scene.hh index 66a54a9..4c4f297 100644 --- a/src/Moof/Scene.hh +++ b/src/Moof/Scene.hh @@ -34,24 +34,30 @@ #include #include +#include #include namespace Mf { -class Scene : public Resource, public Drawable +class Camera; + +class Scene : public Resource { public: Scene(const std::string& name); - void draw(Scalar alpha); + void draw(Scalar alpha, const Camera& cam) const; + void refresh(); + + OctreePtr getOctree() const; - static std::string getPathToResource(const std::string& name); + static std::string getPath(const std::string& name); private: - class SceneImpl; - boost::shared_ptr impl_; + class Impl; + boost::shared_ptr impl_; };