Skip to content

class OBBox3d (client-side)

Available since version: 0.3.8.1

This class represents oriented bounding box 3d.

Constructor

OBBox3d()

Parameters:

No parameters.

Properties

Vec3 center

Represents center of oriented bounding box.


Vec3 extent

Represents extent of oriented bounding box.


zlist& childs

Represents a list of childs (that are oriented bounding boxes).


BBox3d bbox3d

Represents regular bounding box 3d.


Methods

getAxis

This method will set the scale of the vob in the world.

Vec3& getAxis(int index)

Parameters:

  • int index: the index of an axis <0, 3>.

Returns Vec3&:


Callbacks

No callbacks.