Remove R_ThingVisibleWithinDist

It's no longer used!
This commit is contained in:
James R 2022-09-11 16:59:25 -07:00
parent ac2a13fe57
commit d60d4b05fc
2 changed files with 0 additions and 13 deletions

View file

@ -3425,16 +3425,6 @@ boolean R_ThingWithinDist (mobj_t *thing, fixed_t limit_dist)
return true;
}
// For OpenGL, TODO: REMOVE!!
boolean R_ThingVisibleWithinDist (mobj_t *thing,
fixed_t limit_dist)
{
if (! R_ThingVisible(thing))
return false;
return R_ThingWithinDist(thing, limit_dist);
}
/* Check if precipitation may be drawn from our current view. */
boolean R_PrecipThingVisible (precipmobj_t *precipthing,
fixed_t limit_dist)

View file

@ -74,9 +74,6 @@ boolean R_ThingVisible (mobj_t *thing);
boolean R_ThingWithinDist (mobj_t *thing,
fixed_t draw_dist);
boolean R_ThingVisibleWithinDist (mobj_t *thing,
fixed_t draw_dist);
boolean R_PrecipThingVisible (precipmobj_t *precipthing,
fixed_t precip_draw_dist);