private void RenderIntersectEdges() { foreach (PolygonEdgePair pair in _intersectedEdges) { GLUtil.DrawLine2d(pair.Polygon.Vertices[pair.Edge.Start], pair.Polygon.Vertices[pair.Edge.End]); } }
public void Render() { if (_haveStartPoint) { GLUtil.SetColor(new Color(0.8f, 0.3f, 0.8f, 1)); GLUtil.DrawLine2d(_startPoint, _input.Mouse.Position); RenderIntersectEdges(); } RenderLinks(); }