getModelBoundingBox function

BoundingBox getModelBoundingBox(
  1. Model model
)

Compute model bounding box limits (considers all meshes).

Implementation

BoundingBox getModelBoundingBox(Model model) {
  return BoundingBox.fromRef(library.GetModelBoundingBox(model.ref));
}