light: make PrintFaceInfo non static

This commit is contained in:
Eric Wasylishen 2016-04-12 01:07:37 -06:00
parent 501c1a50dc
commit 321eac8aaa
2 changed files with 4 additions and 4 deletions

View File

@ -283,6 +283,9 @@ extern qboolean phongDebug;
extern char mapfilename[1024];
void
PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp);
#ifdef __cplusplus
}
#endif

View File

@ -192,9 +192,6 @@ FaceCentroid(const bsp2_dface_t *face, const bsp2_t *bsp, vec3_t out)
VectorScale(poly_centroid, 1.0 / poly_area, out);
}
static void
PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp);
/*
* ================
* CreateFaceTransform
@ -271,7 +268,7 @@ WorldToTexCoord(const vec3_t world, const texinfo_t *tex, vec_t coord[2])
}
/* Debug helper - move elsewhere? */
static void
void
PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp)
{
const texinfo_t *tex = &bsp->texinfo[face->texinfo];