pub fn vertex_array_bounds(vertices: &[Vertex]) -> FloatRect
Expand description

Compute the bounding rectangle of the vertex array.

This function returns the minimal axis-aligned rectangle that contains all the vertices of the array.