Esempio n. 1
0
        protected override void Initialize()
        {
            GameUtilities.Content        = Content;
            GameUtilities.GraphicsDevice = GraphicsDevice;

            debug.Initialize();
            shapeDrawer.Initialize();

            occQuery = new OcclusionQuery(GraphicsDevice);

            mainCamera = new Camera("cam", new Vector3(0, 0, 100), new Vector3(0, 0, -1));
            mainCamera.Initialize();

            quadTree = new QuadTree(100, Vector2.Zero, 5);
            octree   = new Octree(100, Vector3.Zero, 5);
            // quadTree.SubDivide();

            base.Initialize();
        }