mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Rename R_RecursiveWorldNode to R_VisitWorldNodes.
Finally, the name reflects its actual purpose.
This commit is contained in:
parent
a852eeb711
commit
751417ffb2
2 changed files with 4 additions and 6 deletions
|
@ -441,9 +441,8 @@ test_node (mnode_t *node, int *clipflags)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FIXME no longer recursive: need a new name
|
|
||||||
static void
|
static void
|
||||||
R_RecursiveWorldNode (model_t *model, int clipflags)
|
R_VisitWorldNodes (model_t *model, int clipflags)
|
||||||
{
|
{
|
||||||
typedef struct {
|
typedef struct {
|
||||||
mnode_t *node;
|
mnode_t *node;
|
||||||
|
@ -511,7 +510,7 @@ R_RenderWorld (void)
|
||||||
clmodel = currententity->model;
|
clmodel = currententity->model;
|
||||||
r_pcurrentvertbase = clmodel->vertexes;
|
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
|
// if the driver wants the polygons back to front, play the visible ones
|
||||||
// back in that order
|
// back in that order
|
||||||
|
|
|
@ -444,9 +444,8 @@ test_node (mnode_t *node, int *clipflags)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FIXME no longer recursive: need a new name
|
|
||||||
static void
|
static void
|
||||||
R_RecursiveWorldNode (model_t *model, int clipflags)
|
R_VisitWorldNodes (model_t *model, int clipflags)
|
||||||
{
|
{
|
||||||
typedef struct {
|
typedef struct {
|
||||||
mnode_t *node;
|
mnode_t *node;
|
||||||
|
@ -514,7 +513,7 @@ sw32_R_RenderWorld (void)
|
||||||
clmodel = currententity->model;
|
clmodel = currententity->model;
|
||||||
r_pcurrentvertbase = clmodel->vertexes;
|
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
|
// if the driver wants the polygons back to front, play the visible ones
|
||||||
// back in that order
|
// back in that order
|
||||||
|
|
Loading…
Reference in a new issue