simd_calcbounds

Calculates the bounding box of a mesh, for larger meshes SIMD is used to optimize this operation.

@nogc nothrow
rect
simd_calcbounds
(
vec2[] mesh
)

Parameters

mesh vec2[]

The points of the mesh.

Meta