Exemple #1
0
 public void DrawExtSnapPoints(Vector3dList pointList, DrawPen pen)
 {
     pointList.ForEach(v =>
     {
         DrawHighlightPoint(v, pen);
     });
 }
Exemple #2
0
        public void DrawExtSnapPoints(Vector3dList pointList, DrawPen pen)
        {
            GL.Disable(EnableCap.Lighting);
            GL.Disable(EnableCap.Light0);

            Start2D();

            GL.LineWidth(DrawingConst.HighlightPointLineWidth);
            GL.Color4(pen.Color4());

            pointList.ForEach(v =>
            {
                DrawCross2D(DC.WorldPointToDevPoint(v), DrawingConst.HighlightPointLineLength);
            });

            GL.LineWidth(1);

            End2D();
        }