![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
| struct | svbsp_node_t |
| struct | svbsp_t |
Functions | |
| int | SVBSP_AddPolygon (svbsp_t *b, int numpoints, const float *points, int insertoccluder, void(*fragmentcallback)(void *fragmentcallback_pointer1, int fragmentcallback_number1, svbsp_t *b, int numpoints, const float *points), void *fragmentcallback_pointer1, int fragmentcallback_number1) |
| void | SVBSP_Init (svbsp_t *b, const float *origin, int maxnodes, svbsp_node_t *nodes) |
| int SVBSP_AddPolygon | ( | svbsp_t * | b, |
| int | numpoints, | ||
| const float * | points, | ||
| int | insertoccluder, | ||
| void(* | fragmentcallback )(void *fragmentcallback_pointer1, int fragmentcallback_number1, svbsp_t *b, int numpoints, const float *points), | ||
| void * | fragmentcallback_pointer1, | ||
| int | fragmentcallback_number1 ) |
Definition at line 403 of file svbsp.c.
References b, DRAWFLAG_ADDITIVE, svbsp_polygon_t::facesplitflag, MAX_SVBSP_POLYGONPOINTS, NULL, svbsp_polygon_t::numpoints, svbsp_polygon_t::points, and SVBSP_AddPolygonNode().
Referenced by Mod_GenerateLightmaps_CreateLights_ComputeSVBSP_InsertSurfaces(), R_Q1BSP_RecursiveGetLightInfo_BIH(), and R_Q1BSP_RecursiveGetLightInfo_BSP().
| void SVBSP_Init | ( | svbsp_t * | b, |
| const float * | origin, | ||
| int | maxnodes, | ||
| svbsp_node_t * | nodes ) |
Definition at line 99 of file svbsp.c.
Referenced by Mod_GenerateLightmaps_CreateLights_ComputeSVBSP(), and R_Q1BSP_CallRecursiveGetLightInfo().