diff --git a/gl_md3.c b/gl_md3.c index 75fd67c..497e5e1 100644 --- a/gl_md3.c +++ b/gl_md3.c @@ -693,7 +693,7 @@ void Mod_LoadMd3Model (model_t *mod, void *buffer) } /* for numsurf */ //calculate radius - mod->radius = RadiusFromBounds (mod->mins, mod->maxs); + mod->radius = Mod_RadiusFromBounds (mod->mins, mod->maxs); /* monster or player models only ? */ @@ -1020,7 +1020,7 @@ void Mod_LoadTenebraeKeyframeModel (model_t *mod, void *buffer) } /* for numsurf */ //calculate radius - mod->radius = RadiusFromBounds (mod->mins, mod->maxs); + mod->radius = Mod_RadiusFromBounds (mod->mins, mod->maxs); // // move the complete, relocatable alias model to the cache diff --git a/gl_model.c b/gl_model.c index 1b74be0..086b87d 100644 --- a/gl_model.c +++ b/gl_model.c @@ -1252,7 +1252,7 @@ void Mod_LoadPlanes (lump_t *l) RadiusFromBounds ================= */ -float RadiusFromBounds (vec3_t mins, vec3_t maxs) +float Mod_RadiusFromBounds (vec3_t mins, vec3_t maxs) { int i; vec3_t corner; @@ -1687,7 +1687,7 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer) pheader->maxs[i] = mod->maxs[i]; } - mod->radius = RadiusFromBounds (mod->mins, mod->maxs); + mod->radius = Mod_RadiusFromBounds (mod->mins, mod->maxs); // // build the draw lists