From a36a128b30d85b617d0c002daba0734a8f6f83c9 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 9 Oct 2019 01:03:37 -0600 Subject: [PATCH] light: missing file from last commit --- include/light/ltface.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/light/ltface.hh b/include/light/ltface.hh index 9689fc71..18b0070b 100644 --- a/include/light/ltface.hh +++ b/include/light/ltface.hh @@ -77,7 +77,7 @@ void WorldToTexCoord(const vec3_t world, const gtexinfo_t *tex, vec_t coord[2]); void PrintFaceInfo(const bsp2_dface_t *face, const mbsp_t *bsp); // FIXME: remove light param. add normal param and dir params. vec_t GetLightValue(const globalconfig_t &cfg, const light_t *entity, vec_t dist); -std::map GetDirectLighting(const globalconfig_t &cfg, raystream_t *rs, const vec3_t origin, const vec3_t normal); +std::map GetDirectLighting(const mbsp_t *bsp, const globalconfig_t &cfg, raystream_t *rs, const vec3_t origin, const vec3_t normal); void SetupDirt(globalconfig_t &cfg); float DirtAtPoint(const globalconfig_t &cfg, raystream_t *rs, const vec3_t point, const vec3_t normal, const modelinfo_t *selfshadow); void LightFace(const mbsp_t *bsp, bsp2_dface_t *face, facesup_t *facesup, const globalconfig_t &cfg);