Box.initFromVec3

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

class Box
initFromVec3

Parameters

min Vec3

the coordinates of the minimum vertex

max Vec3

the coordinates of the maximum vertex

Return Value

Type: Box

the initialized #graphene_box_t

Meta