fix normals in triangle meshes to prevent internal edge collision