#include <boost/shared_ptr.hpp>
#include <Moof/Drawable.hh>
+#include <Moof/Octree.hh>
#include <Moof/Resource.hh>
namespace Mf {
-class Scene : public Resource, public Drawable
+class Camera;
+
+class Scene : public Resource
{
public:
Scene(const std::string& name);
- void draw(Scalar alpha) const;
+ void draw(Scalar alpha, const Camera& cam) const;
void refresh();
- static std::string getPathToResource(const std::string& name);
+ OctreePtr getOctree() const;
+
+ static std::string getPath(const std::string& name);
private:
- class SceneImpl;
- boost::shared_ptr<SceneImpl> impl_;
+ class Impl;
+ boost::shared_ptr<Impl> impl_;
};