You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Replace sanity with safety for checks
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user