Example #1
0
        public void RenderScreen(GameTime game_time)
        {
            Vector3 start = new Vector3(0f, 0f, 0f);
            Vector3 end   = new Vector3(1920f, 1080f, 0f);
            Color   color = Color.Black;

            mSimpleDrawScreen.DrawLine(start, end, color, color);

            mSimpleDrawScreen.DrawLine(new Vector3(10f, 10f, 0f), new Vector3(100f, 10f, 0f), Color.Black, Color.Black);
        }
Example #2
0
        public void RenderWorld(GameTime game_time)
        {
            Vector3 start = new Vector3(-1f, -1f, -1f) * 2f;
            Vector3 end   = -start;
            Color   color = Color.White;

            mSimpleDrawWorld.DrawLine(start, end, color, color);
        }