initFromVec3

fun initFromVec3(min: Vec3? = null, max: Vec3? = null): Box

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

Return

the initialized #graphene_box_t

Since

1.2

Parameters

min

the coordinates of the minimum vertex

max

the coordinates of the maximum vertex