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);