Esempio n. 1
0
        protected void SetupHUD()
        {
            var p = new Vector3d(5.0, 5.0, 0.0);
            var s = new Vector3d(5.0, 12, 0.0);

            FrameTimeMeter           = new HUDQuad(HUDDebug, p, s);
            FrameTimeMeter.Color     = Color.DarkSlateBlue;
            UpdateTimeMeter          = new HUDQuad(HUDDebug, p, s);
            UpdateTimeMeter.Color    = Color.DarkCyan;
            RenderTimeMeter          = new HUDQuad(HUDDebug, p, s);
            RenderTimeMeter.Color    = Color.DarkRed;
            RenderDrawingMeter       = new HUDQuad(HUDDebug, p, s);
            RenderDrawingMeter.Color = Color.Red;
        }
Esempio n. 2
0
 protected void SetupHUD()
 {
     var p = new Vector3d(5.0, 5.0, 0.0);
     var s = new Vector3d(5.0, 12, 0.0);
     FrameTimeMeter = new HUDQuad(HUDDebug, p, s);
     FrameTimeMeter.Color = Color.DarkSlateBlue;
     UpdateTimeMeter = new HUDQuad(HUDDebug, p, s);
     UpdateTimeMeter.Color = Color.DarkCyan;
     RenderTimeMeter = new HUDQuad(HUDDebug, p, s);
     RenderTimeMeter.Color = Color.DarkRed;
     RenderDrawingMeter = new HUDQuad(HUDDebug, p, s);
     RenderDrawingMeter.Color = Color.Red;
 }