-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetMeshBoundingBox
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Compute mesh bounding box limits NOTE: minVertex and maxVertex should be transformed by model transform matrix
| Parameter | Default Value | Note |
|---|---|---|
| mesh |
| Condition | Return Value |
|---|---|
| (always) | map |
mesh = raylib.GenMeshCube(2, 1, 1)
bb = raylib.GetMeshBoundingBox(mesh)
print "Min: " + bb.min
print "Max: " + bb.max
raylib.UnloadMesh mesh