TKE_Bounding

Opcode
ASCII b
Hexadecimal 62
Decimal 98

 

Operands

Byte type,

 if type = 0: // cuboid
  Point min, Point max,

 if type = 1: // sphere
  Point center, Float radius

type indicates type of bounding volume
min, max limits of bounding box
center, radius description of bounding sphere

 

Notes

Bounding volume provides information about extents of geometry within the currently open segment, to help optimize traversal operations such as drawing and selection.  Volume is aligned with the world space XYZ axes.