X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_brush.h;h=080daf0eb9654343e0923ef152ccfad5039b7fdb;hb=8bf0a0e63b2c9998aa79491da2f31fd6d73dd49c;hp=bf44b585eec0432d6431ec7dfcf635ce02076044;hpb=27907bd5780497d603f115738cfcd68b1da3d17f;p=xonotic%2Fdarkplaces.git diff --git a/model_brush.h b/model_brush.h index bf44b585..080daf0e 100644 --- a/model_brush.h +++ b/model_brush.h @@ -174,43 +174,6 @@ typedef struct svbspmesh_s } svbspmesh_t; -typedef struct mlight_s -{ - // location of light - vec3_t origin; - // distance attenuation scale (smaller is a larger light) - float falloff; - // color and brightness combined - vec3_t light; - // brightness bias, used for limiting radius without a hard edge - float subtract; - // spotlight direction - vec3_t spotdir; - // cosine of spotlight cone angle (or 0 if not a spotlight) - float spotcone; - // distance bias (larger value is softer and darker) - float distbias; - // light style controlling this light - int style; - // maximum extent of the light for shading purposes - float lightradius; - // maximum extent of the light for culling purposes - float cullradius; - float cullradius2; - /* - // surfaces this shines on - int numsurfaces; - msurface_t **surfaces; - // lit area - vec3_t mins, maxs; - // precomputed shadow volume meshs - //svbspmesh_t *shadowvolume; - //vec3_t shadowvolumemins, shadowvolumemaxs; - shadowmesh_t *shadowvolume; - */ -} -mlight_t; - // Q2 bsp stuff #define Q2BSPVERSION 38