Skip to content

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

Parameters

Parameter Default Value Note
mesh

Return value

Condition Return Value
(always) map

Notes

Example

mesh = raylib.GenMeshCube(2, 1, 1)
bb = raylib.GetMeshBoundingBox(mesh)
print "Min: " + bb.min
print "Max: " + bb.max
raylib.UnloadMesh mesh

Clone this wiki locally