intersection

fun intersection(b: Box, res: Box?): Boolean

Intersects the two given #graphene_box_t.

If the two boxes do not intersect, @res will contain a degenerate box initialized with graphene_box_empty().

Return

true if the two boxes intersect

Since

1.2

Parameters

b

a #graphene_box_t

res

return location for the result