19.3.6 expand

bb = physics.BB:expand(vec)

Parameter

Type

Description

self

in physics.BB

The input bounding box

vec

in physics.Vect

A vector

bb

out physics.BB

The bounding box self expanded to include vector vec

Returns the bounding box that contains both self and vec.

Introduced in platform.apiLevel = '2.0'