Definition at line 1677 of file Utils.cs.
1678 {
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699 double num = width / 2.0;
1709 return PlotLine(
point3.X,
point3.Y,
point4.X,
point4.Y, (
int x,
int y) =>
PlotLine(x +
lineMinOffset.X, y +
lineMinOffset.Y, x +
lineMaxOffset.X, y +
lineMaxOffset.Y,
plot, jump:
false));
1710 }
static Point ToTileCoordinates(this Vector2 vec)
static bool PlotLine(Point16 p0, Point16 p1, TileActionAttempt plot, bool jump=true)
References Terraria.Utils.PlotLine(), Microsoft.Xna.Framework.Graphics.Point, System.start, Terraria.Utils.ToTileCoordinates(), Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.