summaryrefslogtreecommitdiff
path: root/tests/core
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-01-15 16:51:43 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-15 17:18:50 +0100
commit7560340ef61bf4f2bf67dc3f8b1415dfeeb8e485 (patch)
tree9967c8b484cf6fdb8dd7cbbbaf0420f9497c4ce5 /tests/core
parent9711abe78773426644b640d6052273203931555e (diff)
Rename `center` method to `get_center` in Plane.
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/math/test_plane.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/math/test_plane.h b/tests/core/math/test_plane.h
index b2b857ca69..f784a29a17 100644
--- a/tests/core/math/test_plane.h
+++ b/tests/core/math/test_plane.h
@@ -87,8 +87,8 @@ TEST_CASE("[Plane] Plane-point operations") {
const Plane y_facing_plane = Plane(0, 1, 0, 4);
CHECK_MESSAGE(
- plane.center().is_equal_approx(Vector3(32 * 3, 22 * 3, 16 * 3)),
- "center() should return a vector pointing to the center of the plane.");
+ plane.get_center().is_equal_approx(Vector3(32 * 3, 22 * 3, 16 * 3)),
+ "get_center() should return a vector pointing to the center of the plane.");
CHECK_MESSAGE(
y_facing_plane.is_point_over(Vector3(0, 5, 0)),