Documentation for region.

This commit is contained in:
Bill Currie 2010-08-30 15:12:20 +09:00
parent 00b635236d
commit 68dda63de5
2 changed files with 6 additions and 2 deletions

View file

@ -25,6 +25,10 @@
struct node_s;
/** Write the faces and edges to the bsp file.
\param headnode The root of the map's bsp.
*/
void GrowNodeRegions (struct node_s *headnode);
#endif//qfbsp_region_h

View file

@ -132,7 +132,7 @@ RecursiveGrowRegion (dface_t *r, face_t *f)
Sys_Error ("RecursiveGrowRegion: region collision");
f->outputnumber = bsp->numfaces;
// add edges
// add edges
for (i = 0; i < f->points->numpoints; i++) {
e = f->edges[i];
if (!edgefaces[abs (e)][0])
@ -265,7 +265,7 @@ GrowNodeRegions (node_t *headnode)
vec3_t dir;
vec3_t origin;
vec3_t p[2];
}
}
for all faces
for all edges