VectorXYZ normal = new VectorXYZ(0, 0, 0);
for (VectorXYZ addNormal : relevantNormals) {
normal = normal.add(addNormal);
}
return normal.normalize();
}
private static Map<VectorXYZ, List<TriangleXYZ>> calculateAdjacentTriangles(
Collection<TriangleXYZ> triangles) {