1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Rename center method to get_center in Plane.

This commit is contained in:
Raul Santos
2023-01-15 16:51:43 +01:00
parent 9711abe787
commit 7560340ef6
6 changed files with 12 additions and 12 deletions

View File

@@ -748,7 +748,7 @@ Geometry3D::MeshData Geometry3D::build_convex_mesh(const Vector<Plane> &p_planes
Vector3 right = p.normal.cross(ref).normalized();
Vector3 up = p.normal.cross(right).normalized();
Vector3 center = p.center();
Vector3 center = p.get_center();
// make a quad clockwise
LocalVector<Vector3> vertices = {