Remove R_ThingVisibleWithinDist

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

View file

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

View file

@ -75,10 +75,6 @@ boolean R_ThingWithinDist (mobj_t *thing,
fixed_t draw_dist,
fixed_t nights_draw_dist);
boolean R_ThingVisibleWithinDist (mobj_t *thing,
fixed_t draw_dist,
fixed_t nights_draw_dist);
boolean R_PrecipThingVisible (precipmobj_t *precipthing,
fixed_t precip_draw_dist);