UFO: Alien Invasion
|
The major lighting operation is a point to point visibility test, performed by recursive subdivision of the line by the BSP tree. More...
Go to the source code of this file.
Functions | |
void | MakeTracingNodes (int levels) |
Use the bsp node structure to reconstruct efficient tracing structures that are used for fast visibility and pathfinding checks. More... | |
void | CloseTracingNodes (void) |
The major lighting operation is a point to point visibility test, performed by recursive subdivision of the line by the BSP tree.
Definition in file trace.cpp.
Definition at line 65 of file trace.cpp.
References curTile, Mem_Free, and dMapTile_t::tnodes.
Referenced by LightWorld(), and MakeTracingNodes().
Use the bsp node structure to reconstruct efficient tracing structures that are used for fast visibility and pathfinding checks.
Definition at line 38 of file trace.cpp.
References CloseTracingNodes(), curTile, dBspModel_t::headnode, i, LEVEL_ACTORCLIP, LEVEL_LIGHTCLIP, LEVEL_MAX, Mem_AllocTypeN, dMapTile_t::models, dBspModel_t::numfaces, dMapTile_t::numnodes, dMapTile_t::numtheads, dMapTile_t::thead, dMapTile_t::theadlevel, dMapTile_t::tnodes, and TR_BuildTracingNode_r().
Referenced by DoRouting(), and LightWorld().