diff options
author | Raul Santos <raulsntos@gmail.com> | 2023-01-15 16:51:43 +0100 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2023-01-15 17:18:50 +0100 |
commit | 7560340ef61bf4f2bf67dc3f8b1415dfeeb8e485 (patch) | |
tree | 9967c8b484cf6fdb8dd7cbbbaf0420f9497c4ce5 /tests | |
parent | 9711abe78773426644b640d6052273203931555e (diff) |
Rename `center` method to `get_center` in Plane.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/math/test_plane.h | 4 |
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)), |