Flip Orientation
flip_orientation_mesh(mesh)
Mesh with flipped vertex orientation
# Flip a mesh
if(run_documentation()) {
sphere_mesh(position=c(-1,0,0)) |>
add_shape(flip_orientation_mesh(sphere_mesh(position=c(1,0,0)))) |>
rasterize_scene(debug="normals",fov=30)
}
#> Setting `lookat` to: c(0.00, 0.00, 0.00)