Table Of Contents

Previous topic

util.Base64

Next topic

util.Quaternion

This Page

util.BBox

Constructor

class util.BBox()

Methods

across()
Returns:a Vec3 with the size of the BBox

Get the size of bounding box, i.e. the vector between the min and max points.

scale(rhs)
Arguments:
  • rhs – a scalar
Returns:

returns a bounding box scaled by the amount rhs

Scale the bounding box by a scalar.

translate(rhs)
Arguments:
  • rhs – the vector to add to this vector
Returns:

translated BBox

Translate the bounding box by a Vec3.