]> Dogcows Code - chaz/rasterize/blobdiff - config.hh
basic ray tracing with hard shadows
[chaz/rasterize] / config.hh
index 651b600ec2f7fe80c649586fc29fd6d065717302..0dde062edddf8201d7043152178a39f32e0d0453 100644 (file)
--- a/config.hh
+++ b/config.hh
 #define IF_NDEBUG(X)
 #endif
 
+/*
+ * SHADOWS
+ * If enabled, scene elements will cast shadows on other elements.
+ */
+#if SHADOWS
+#define IF_SHADOWS(X) X
+#else
+#define IF_SHADOWS(X)
+#endif
+
 /*
  * VERBOSITY
  * If enabled, a description of what is happening will be printed to stdout.
This page took 0.022036 seconds and 4 git commands to generate.