summaryrefslogtreecommitdiff
path: root/tests/test_geometry_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_geometry_2d.h')
-rw-r--r--tests/test_geometry_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_geometry_2d.h b/tests/test_geometry_2d.h
index ea02d1114f..c9313f3625 100644
--- a/tests/test_geometry_2d.h
+++ b/tests/test_geometry_2d.h
@@ -113,7 +113,7 @@ TEST_CASE("[Geometry2D] Polygon clockwise") {
p.push_back(Vector2(1, 5));
CHECK(Geometry2D::is_polygon_clockwise(p));
- p.invert();
+ p.reverse();
CHECK_FALSE(Geometry2D::is_polygon_clockwise(p));
}