442443444445446447448449450451452
Vector3 new_n = new Vector3(); for (Vector3 n : e.normals) { new_n.add(n); } new_n.normalize(); for (Vector3 n : e.normals) { n.set(new_n); } }