Skip to main content

load_mesh_bounds

Function load_mesh_bounds 

Source
pub fn load_mesh_bounds(mesh_path: &Path) -> Result<MeshBounds, RenderError>
Expand description

Load axis-aligned bounds from an OBJ mesh.

This is a small public wrapper around the same YCB google_16k/textured.obj layout used by the renderer. It lets downstream callers avoid carrying their own OBJ parsing just to target an object’s visual center.