bluecore/engine/SceneGraph.h
2008-01-20 10:16:37 +00:00

30 lines
439 B
C++

#ifndef BLUECORE_SCENEGRAPH_H
#define BLUECORE_SCENEGRAPH_H
#include "SceneNode.h"
namespace BlueCore
{
class SceneGraph : public Referenced
{
ref_ptr<SceneNode> _RootNode;
ref_ptr<Camera> _Camera;
public:
SceneGraph();
~SceneGraph();
SceneNode* getRootNode();
void setCamera(Camera *camera);
void update(Scalar time);
void queue (RenderQueue *queue);
};
}
#endif /*SCENEGRAPH_H_*/