]> Dogcows Code - chaz/rasterize/blobdiff - config.hh
added texturing
[chaz/rasterize] / config.hh
index 0dde062edddf8201d7043152178a39f32e0d0453..d189972e48e6a0c744e844ae50e87295e82e8562 100644 (file)
--- a/config.hh
+++ b/config.hh
 #define IF_SHADOWS(X)
 #endif
 
+/*
+ * TEXTURING
+ * If enabled, the first element of a scene will be textured with the
+ * raster from texture.ppm or texture.bmp.
+ */
+#if TEXTURING
+#define IF_TEXTURING(X) X
+#else
+#define IF_TEXTURING(X)
+#endif
+
+/*
+ * QUIRKS
+ * If enabled, compatibility quirks particular to the project assignment
+ * will be turned on, causing the output to match more closely with the
+ * provided examples.
+ */
+#if QUIRKS
+#define IF_QUIRKS(X) X
+#else
+#define IF_QUIRKS(X)
+#endif
+
 /*
  * VERBOSITY
  * If enabled, a description of what is happening will be printed to stdout.
This page took 0.020178 seconds and 4 git commands to generate.