#include <raytrace.h>
Collaboration diagram for rt_piecelist:
Data Fields | |
long | magic |
long | npieces |
number of pieces in pieces[] array | |
long * | pieces |
pieces[npieces], piece indices | |
soltab * | stp |
ref back to solid |
For each space partitioning cell, there is one of these for each solid in that cell which uses pieces. Storage for the array is allocated at cut time, and never changes.
It is expected that the indices allocated by any solid range from 0..(npieces-1).
The piece indices are used as a subscript into a solid-specific table, and also into the 'shot' bitv of the corresponding rt_piecestate.
The values (subscripts) in pieces[] are specific to a single solid (stp).
Definition at line 1429 of file raytrace.h.
|
Definition at line 1430 of file raytrace.h. Referenced by rt_ct_populate_box(), and rt_cut_extend(). |
|
number of pieces in pieces[] array
Definition at line 1431 of file raytrace.h. Referenced by rt_ct_piececount(), rt_ct_populate_box(), rt_cut_extend(), and rt_split_mostly_empty_cells(). |
|
pieces[npieces], piece indices
Definition at line 1432 of file raytrace.h. Referenced by rt_ct_populate_box(), rt_cut_extend(), and rt_split_mostly_empty_cells(). |
|
ref back to solid
Definition at line 1433 of file raytrace.h. Referenced by insert_in_bsp(), remove_from_bsp(), rt_bot_piece_shot(), rt_ct_populate_box(), rt_cut_extend(), rt_shootray(), and rt_split_mostly_empty_cells(). |