]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.h
Add R_LightPoint which is fast version of R_CompleteLightPoint that only grabs ambien...
[xonotic/darkplaces.git] / r_shadow.h
index b2dab2dde5b544d26ebf59f85da3c7300f7eacb5..c595fbe9f02e9232e1255dd4c586dcedbff07fbd 100644 (file)
@@ -98,9 +98,10 @@ void R_Shadow_PrepareShadowSides(int numtris);
 
 void R_Shadow_PrepareModelShadows(void);
 
-#define LP_LIGHTMAP    1
-#define LP_RTWORLD     2
-#define LP_DYNLIGHT    4
+#define LP_LIGHTMAP            1
+#define LP_RTWORLD             2
+#define LP_DYNLIGHT            4
+void R_LightPoint(vec3_t color, const vec3_t p, const int flags);
 void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, const int flags);
 
 #endif