mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
This commit is contained in:
@@ -58,7 +58,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me
|
||||
|
||||
for (int i = 0; i < p_points.size(); i++) {
|
||||
|
||||
Vector3 sp = p_points[i].snapped(0.0001);
|
||||
Vector3 sp = p_points[i].snapped(Vector3(0.0001, 0.0001, 0.0001));
|
||||
if (valid_cache.has(sp)) {
|
||||
valid_points[i] = false;
|
||||
//print_line("INVALIDATED: "+itos(i));
|
||||
|
||||
Reference in New Issue
Block a user