Exemplo n.º 1
0
        private void DrawCircel(Pen pen, DashFireSpatial.Circle ci)
        {
            Vector3 center = ci.world_center_pos();

            graphics_.Graphics.DrawLine(pen, center.X, center.Z, center.X + 1, center.Z + 1);
            graphics_.Graphics.DrawEllipse(pen, (float)(center.X - ci.radius()),
                                           (float)(center.Z - ci.radius()), (float)ci.radius() * 2, (float)ci.radius() * 2);
        }