Calculates the coordinates of the center of a mesh

get_mesh_center(mesh)

Arguments

mesh

The mesh object.

Value

Length-3 numeric vector

Examples

if(run_documentation()) {
#Calculates the center of the mesh
get_scene_center(generate_cornell_mesh())
}
#> Error in get_scene_center(generate_cornell_mesh()): could not find function "get_scene_center"