light: expose GetLightValue in entities.h
This commit is contained in:
parent
0c93c5c3d0
commit
8fd3f41b42
|
|
@ -134,6 +134,8 @@ void LoadEntities(const bsp2_t *bsp);
|
|||
void SetupLights(const bsp2_t *bsp);
|
||||
void WriteEntitiesToString(bsp2_t *bsp);
|
||||
|
||||
vec_t GetLightValue(const lightsample_t *light, const entity_t *entity, vec_t dist);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -953,7 +953,7 @@ Lightmap_Soften(lightmap_t *lightmap, const lightsurf_t *lightsurf)
|
|||
* ============================================================================
|
||||
*/
|
||||
|
||||
static vec_t
|
||||
vec_t
|
||||
GetLightValue(const lightsample_t *light, const entity_t *entity, vec_t dist)
|
||||
{
|
||||
vec_t value;
|
||||
|
|
|
|||
Loading…
Reference in New Issue