expand_vec3


Description:

public Box expand_vec3 (Vec3 vec)

Expands the dimensions of this to include the coordinates of the given vector.

Parameters:

this

a Box

vec

the coordinates of the point to include, as a Vec3

res

return location for the expanded box