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

Replace vector == and is_zero_approx(distance) with is_equal_approx

Internal changes only
This commit is contained in:
Aaron Franke
2019-10-02 16:31:09 -04:00
parent 86922ff70b
commit aeb7075628
8 changed files with 22 additions and 31 deletions

View File

@@ -401,7 +401,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me
ERR_CONTINUE(O == E);
ERR_CONTINUE(O == NULL);
if (O->get().plane.is_almost_like(f.plane)) {
if (O->get().plane.is_equal_approx(f.plane)) {
//merge and delete edge and contiguous face, while repointing edges (uuugh!)
int ois = O->get().indices.size();
int merged = 0;