예제 #1
0
파일: Game.cs 프로젝트: spech66/LightFireCS
    public Game()
    {
        octtreeNode = new SceneNodeOcttree();
        blockgNode  = new SceneNodeBlockGrid();

        ModelLoader.Get().LoadModel("models/xyz.3ds");
        xyzModelNode = new SceneNodeModel(ModelLoader.Get().GetModel("models/xyz.3ds"));
        octtreeNode.AddNode(xyzModelNode);
        ((SceneNodeOcttree)(octtreeNode)).BuildTree(6);

        camera = new Camera();
        camera.SetPosition(10, 10, 10);
        camera.SetTarget(0, 0, 0);

        running = true;
    }