You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
This commit is contained in:
@@ -117,7 +117,7 @@ void TriangleMesh::create(const PoolVector<Vector3> &p_faces) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
|
||||
int vidx = -1;
|
||||
Vector3 vs = v[j].snapped(0.0001);
|
||||
Vector3 vs = v[j].snapped(Vector3(0.0001, 0.0001, 0.0001));
|
||||
Map<Vector3, int>::Element *E = db.find(vs);
|
||||
if (E) {
|
||||
vidx = E->get();
|
||||
|
||||
Reference in New Issue
Block a user