diff --git a/Shared/Debug.cs b/Shared/Debug.cs index ada399d..10cddf2 100644 --- a/Shared/Debug.cs +++ b/Shared/Debug.cs @@ -99,6 +99,13 @@ namespace SemiColinGames { spriteBatch.Draw( whiteTexture, new Rectangle(rect.Right - 1, rect.Top, 1, rect.Height), color); } + foreach (var line in lines) { + Point[] points = Line.Rasterize(line.Start, line.End); + foreach (var point in points) { + spriteBatch.Draw( + whiteTexture, new Rectangle(point.X, point.Y, 1, 1), line.Color); + } + } } } }