Skip to content

Commit 6ff9c6b

Browse files
committed
rmeove debg
Signed-off-by: Slendi <[email protected]>
1 parent 403da09 commit 6ff9c6b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Level.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ void DrawTriangleCCW(Vector2 p0, Vector2 p1, Vector2 p2, Color col)
4848
if (CalculateTriangleArea(p0, p1, p2) > 0) {
4949
std::swap(p1, p2);
5050
}
51-
TraceLog(LOG_INFO,
52-
"Drawing triangle with points: p0(%.2f, %.2f), p1(%.2f, %.2f), p2(%.2f, %.2f)", p0.x, p0.y,
53-
p1.x, p1.y, p2.x, p2.y);
5451

5552
DrawTriangle(p0, p1, p2, col);
5653
}
@@ -59,10 +56,8 @@ void DrawPolygon(std::vector<Vector2> &points, Color col)
5956
{
6057
EnsureCounterClockwise(points);
6158

62-
if (points.size() < 3) {
63-
TraceLog(LOG_WARNING, "Not enough points to form a polygon.");
59+
if (points.size() < 3)
6460
return;
65-
}
6661

6762
std::vector<TPPLPoint> polyPoints = ConvertToTPPLPoints(points);
6863

0 commit comments

Comments
 (0)