powered by
inverts faces' orientation of triangular mesh and recomputes vertex normals
invertFaces(mesh)
returns resulting mesh
triangular mesh of class mesh3d
mesh3d
Stefan Schlager
updateNormals
data(nose) if (FALSE) { rgl::shade3d(shortnose.mesh,col=3) } noseinvert <- invertFaces(shortnose.mesh) ## show normals if (FALSE) { plotNormals(noseinvert,long=0.01) }
Run the code above in your browser using DataLab