============
TKE_Bounding
============

Opcode
======

.. raw:: html

	<TABLE border=0 height=90 width=530>   
	<TR>
	  <TD height=12 width=131>ASCII</TD>
	  <TD height=12 width=390>b</TD></TR>
	<TR>
	  <TD height=12 width=131>Hexadecimal</TD>
	  <TD height=12 width=390>62</TD></TR>
	<TR>
	  <TD height=12 width=131>Decimal</TD>
	  <TD height=12 width=390>98</TD></TR></TABLE>
	</table>


Operands
========

	Byte type,

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

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

.. raw:: html

	<table BORDER =1 WIDTH="530">
	<TR>
	<TD height=21 width=131>type</TD>
	<TD height=21 width=390>indicates type of bounding volume</TD>
	</TR>
	<tr>
	<td WIDTH="131" HEIGHT="21">min, max</td>
	<td WIDTH="390" HEIGHT="21">limits of bounding box</td>
	</tr>
	<tr>
	<td WIDTH="131" HEIGHT="21">center, radius</td>
	<td WIDTH="390" HEIGHT="21">description of bounding sphere</td>
	</tr>
	</table>


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.
