Box.initFromVec3

graphene.box.Box initFromVec3(graphene.vec3.Vec3 min = null, graphene.vec3.Vec3 max = null)

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

Parameters

minthe coordinates of the minimum vertex
maxthe coordinates of the maximum vertex

Returns

the initialized #graphene_box_t