Rename R_RecursiveWorldNode to R_VisitWorldNodes.

Finally, the name reflects its actual purpose.
This commit is contained in:
Bill Currie 2013-01-07 19:59:49 +09:00
parent a852eeb711
commit 751417ffb2
2 changed files with 4 additions and 6 deletions

View file

@ -441,9 +441,8 @@ test_node (mnode_t *node, int *clipflags)
return 1;
}
//FIXME no longer recursive: need a new name
static void
R_RecursiveWorldNode (model_t *model, int clipflags)
R_VisitWorldNodes (model_t *model, int clipflags)
{
typedef struct {
mnode_t *node;
@ -511,7 +510,7 @@ R_RenderWorld (void)
clmodel = currententity->model;
r_pcurrentvertbase = clmodel->vertexes;
R_RecursiveWorldNode (clmodel, 15);
R_VisitWorldNodes (clmodel, 15);
// if the driver wants the polygons back to front, play the visible ones
// back in that order

View file

@ -444,9 +444,8 @@ test_node (mnode_t *node, int *clipflags)
return 1;
}
//FIXME no longer recursive: need a new name
static void
R_RecursiveWorldNode (model_t *model, int clipflags)
R_VisitWorldNodes (model_t *model, int clipflags)
{
typedef struct {
mnode_t *node;
@ -514,7 +513,7 @@ sw32_R_RenderWorld (void)
clmodel = currententity->model;
r_pcurrentvertbase = clmodel->vertexes;
R_RecursiveWorldNode (clmodel, 15);
R_VisitWorldNodes (clmodel, 15);
// if the driver wants the polygons back to front, play the visible ones
// back in that order