View source: R/flip_orientation_mesh.R
flip_orientation_mesh | R Documentation |
Flip Orientation
flip_orientation_mesh(mesh)
mesh |
The mesh to swap orientations. |
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.