data(dummyhead)
## now we invert faces inwards
checkFaceOrientation(dummyhead.mesh)
if (requireNamespace("Morpho", quietly = TRUE)) {
dummyinward <- Morpho::invertFaces(dummyhead.mesh)
checkFaceOrientation(dummyinward)
}
Run the code above in your browser using DataLab