Ejemplo n.º 1
0
        public MyPlanet()
        {
            (PositionComp as MyPositionComponent).WorldPositionChanged = WorldPositionChanged;

            Render = new MyRenderComponentPlanet();
            AddDebugRenderComponent(new MyDebugRenderComponentPlanet(this));

            Render.DrawOutsideViewDistance = true;
        }
Ejemplo n.º 2
0
        public MyPlanet()
        {
            (PositionComp as MyPositionComponent).WorldPositionChanged = WorldPositionChanged;

            Render = new MyRenderComponentPlanet();
            AddDebugRenderComponent(new MyDebugRenderComponentVoxelMap(this));
        }
Ejemplo n.º 3
0
        public MyPlanet()
        {
            (PositionComp as MyPositionComponent).WorldPositionChanged = WorldPositionChanged;

            Render = new MyRenderComponentPlanet();
            AddDebugRenderComponent(new MyDebugRenderComponentPlanet(this));

            Render.DrawOutsideViewDistance = true;

            m_parallelWorkDelegate = ParallelWorkCallback;
            m_serialWorkDelegate = SerialWorkCallback;
        }