Ejemplo n.º 1
0
        protected override void RenderHud()
        {
            int padding = 5;
            var color   = Color.Black;

            GLUtil2D.RenderText(padding, padding, run.Name, color);
            GLUtil2D.RenderText(padding, 20 + padding, "Level " + currentLevel, color);
        }
Ejemplo n.º 2
0
        protected override void RenderHud()
        {
            int    padding = 5;
            string text    = "Editing " + input.Name;
            Color  color   = Color.Black;

            GLUtil2D.RenderText(padding, padding, text, color);
        }
        protected void DrawPoint(TPoint2D point, double radius, int numSegments, Color color, int?name = null)
        {
            GL.PushMatrix();
            GL.Color3(color);

            GL.Translate(point.X, point.Y, 1f);

            if (name != null)
            {
                GL.LoadName((int)name);
            }

            GLUtil2D.DrawCircle(radius, numSegments);

            GL.PopMatrix();
        }