-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetModelBoundingBox
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Compute model bounding box limits (considers all meshes)
| Parameter | Default Value | Note |
|---|---|---|
| model |
| Condition | Return Value |
|---|---|
| (always) | map |
mesh = raylib.GenMeshCube(2, 1, 1)
model = raylib.LoadModelFromMesh(mesh)
bb = raylib.GetModelBoundingBox(model)
print "Min: " + bb.min
print "Max: " + bb.max
raylib.UnloadModel model