Box.initFromVec3

Initializes the given #graphene_box_t with two vertices stored inside #graphene_vec3_t.

class Box
initFromVec3

Parameters

min graphene.vec3.Vec3

the coordinates of the minimum vertex

max graphene.vec3.Vec3

the coordinates of the maximum vertex

Return Value

Type: graphene.box.Box

the initialized #graphene_box_t