Previous Up Next

M3calcObb
Calculates the position and the sizes of the Obb covering a mesh.
In the case of a multi-topo mode mesh, the active topology is used to calculate the sizes.
Results are in integer values.

[[I I I] [I I I]] M3calcObb (
S3d _session_
H3d _mesh_
)
Parameters

_session_
3D Session
_mesh_
Mesh
Return value

Position and sizes of the collision box.