diff --git a/include/light/light.h b/include/light/light.h index a759bb66..e2c9421e 100644 --- a/include/light/light.h +++ b/include/light/light.h @@ -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 diff --git a/light/ltface.c b/light/ltface.c index f9b340ea..974eb054 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -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];