many exports to scriptengine

This commit is contained in:
cirdan
2008-01-24 22:16:53 +00:00
parent 2373b382f1
commit 491c09e235
29 changed files with 600 additions and 287 deletions

View File

@ -5,7 +5,7 @@ namespace BlueCore
SceneGraph::SceneGraph()
{
_RootNode = new SceneNode();
_RootNode = new SceneNode("root node");
}
SceneGraph::~SceneGraph()
{
@ -22,6 +22,11 @@ void SceneGraph::setCamera(Camera *camera)
_Camera = camera;
}
Camera* SceneGraph::getCamera()const
{
return _Camera.pointer();
}
void SceneGraph::update(Scalar time)
{
_RootNode->update (time);