Bounds.Grown

Bounds Grown(Vec3 pt)

Grow the Bounds to encapsulate the provided point. Returns the result, and does NOT modify the current bounds.

   
Vec3 pt The point to encapsulate! This should be in the same space as the bounds.
RETURNS: Bounds The bounds that also encapsulate the provided point.
Bounds Grown(Bounds box, Matrix boxTransform)

Grow the Bounds to encapsulate the provided box after it has been transformed by the provided matrix transform. This will transform each corner of the box, and expand the bounds to encapsulate each point!

   
Bounds box The box to encapsulate! The corners of this box are transformed, and then used to grow the Bounds.
Matrix boxTransform The Matrix transform for the box. If this is just an Identity matrix, you can skip providing a Matrix.
RETURNS: Bounds The bounds that also encapsulate the provided transformed box.
Bounds Grown(Bounds box)

Grow the Bounds to encapsulate the provided box.

   
Bounds box The box to encapsulate!
RETURNS: Bounds The bounds that also encapsulate the provided box.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!