Box.initFromPoints

Initializes the given #graphene_box_t with the given array of vertices.

If @n_points is 0, the returned box is initialized with graphene_box_empty().

class Box
initFromPoints

Parameters

points Point3D[]

an array of #graphene_point3d_t

Return Value

Type: Box

the initialized #graphene_box_t

Meta