Box.initFromVectors

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

If n_vectors is 0, the returned box is initialized with graphene.box.Box.empty.

class Box
initFromVectors

Parameters

vectors graphene.vec3.Vec3[]

an array of #graphene_vec3_t

Return Value

Type: graphene.box.Box

the initialized #graphene_box_t