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_empty().

class Box
initFromVectors

Parameters

vectors Vec3[]

an array of #graphene_vec3_t

Return Value

Type: Box

the initialized #graphene_box_t

Meta