mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: remove unused sprite_radius global variable
This commit is contained in:
@@ -21,8 +21,6 @@ GNU General Public License for more details.
|
||||
|
||||
#define GLARE_FALLOFF 19000.0f
|
||||
|
||||
static float sprite_radius;
|
||||
|
||||
/*
|
||||
================
|
||||
R_GetSpriteFrameInterpolant
|
||||
@@ -212,8 +210,6 @@ static qboolean R_CullSpriteModel( cl_entity_t *e, vec3_t origin )
|
||||
VectorScale( e->model->mins, scale, sprite_mins );
|
||||
VectorScale( e->model->maxs, scale, sprite_maxs );
|
||||
|
||||
sprite_radius = RadiusFromBounds( sprite_mins, sprite_maxs );
|
||||
|
||||
VectorAdd( sprite_mins, origin, sprite_mins );
|
||||
VectorAdd( sprite_maxs, origin, sprite_maxs );
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@ GNU General Public License for more details.
|
||||
|
||||
#define GLARE_FALLOFF 19000.0f
|
||||
|
||||
static float sprite_radius;
|
||||
|
||||
/*
|
||||
================
|
||||
R_CullSpriteModel
|
||||
@@ -45,8 +43,6 @@ static qboolean R_CullSpriteModel( cl_entity_t *e, vec3_t origin )
|
||||
VectorScale( e->model->mins, scale, sprite_mins );
|
||||
VectorScale( e->model->maxs, scale, sprite_maxs );
|
||||
|
||||
sprite_radius = RadiusFromBounds( sprite_mins, sprite_maxs );
|
||||
|
||||
VectorAdd( sprite_mins, origin, sprite_mins );
|
||||
VectorAdd( sprite_maxs, origin, sprite_maxs );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user