diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-09-28 15:42:55 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-10-08 16:22:24 +0200 |
commit | 034c0f1624dbdc8fd2460cda148ac90f5fd53198 (patch) | |
tree | ca13af3a8366291d2a8a08695165fcd7b7889a42 /core/math/convex_hull.cpp | |
parent | 6916349697a4339216469e9bf5899b983d78db07 (diff) | |
download | redot-engine-034c0f1624dbdc8fd2460cda148ac90f5fd53198.tar.gz |
Replace `sanity` with `safety` for checks
Diffstat (limited to 'core/math/convex_hull.cpp')
-rw-r--r-- | core/math/convex_hull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/convex_hull.cpp b/core/math/convex_hull.cpp index f8456ec998..68d995fe67 100644 --- a/core/math/convex_hull.cpp +++ b/core/math/convex_hull.cpp @@ -2278,7 +2278,7 @@ Error ConvexHullComputer::convex_hull(const Vector<Vector3> &p_points, Geometry3 uint32_t edges_copied = 0; for (uint32_t i = 0; i < ch.edges.size(); i++) { - ERR_CONTINUE(edge_faces[i] == -1); // Sanity check + ERR_CONTINUE(edge_faces[i] == -1); // Safety check. uint32_t a = (&ch.edges[i])->get_source_vertex(); uint32_t b = (&ch.edges[i])->get_target_vertex(); |