|
@ -66,10 +66,11 @@ namespace SemiColinGames { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static void AddRect(Rectangle rect, Color color) { |
|
|
public static void AddRect(Rectangle rect, Color color) { |
|
|
AddLine(rect.Left, rect.Top, rect.Right, rect.Top, color); |
|
|
|
|
|
AddLine(rect.Right, rect.Top, rect.Right, rect.Bottom, color); |
|
|
|
|
|
AddLine(rect.Right, rect.Bottom, rect.Left, rect.Bottom, color); |
|
|
|
|
|
AddLine(rect.Left, rect.Bottom, rect.Left, rect.Top, color); |
|
|
|
|
|
|
|
|
AddLine(rect.Left, rect.Top + 1, rect.Right, rect.Top + 1, color); |
|
|
|
|
|
AddLine(rect.Left + 1, rect.Top + 1, rect.Left + 1, rect.Bottom, color); |
|
|
|
|
|
AddLine(rect.Right, rect.Top + 1, rect.Right, rect.Bottom, color); |
|
|
|
|
|
AddLine(rect.Left + 1, rect.Bottom, rect.Right, rect.Bottom, color); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static void AddRect(AABB box, Color color) { |
|
|
public static void AddRect(AABB box, Color color) { |
|
|