summaryrefslogtreecommitdiff
path: root/src/physical_constants.h
diff options
context:
space:
mode:
authorAnthony LaTorre <telatorre@gmail.com>2011-06-12 21:31:22 -0400
committerAnthony LaTorre <telatorre@gmail.com>2011-06-12 21:31:22 -0400
commit870236b3c4950762a73247c68023a8dee6e14a7b (patch)
treea9b634e0ef43f17c00e725972240d48673a708b6 /src/physical_constants.h
parente06a8b551c730e3d1111fc571c5d48edb85f70ce (diff)
downloadchroma-870236b3c4950762a73247c68023a8dee6e14a7b.tar.gz
chroma-870236b3c4950762a73247c68023a8dee6e14a7b.tar.bz2
chroma-870236b3c4950762a73247c68023a8dee6e14a7b.zip
added some fun models; added some untested code to implement absorption, scattering, reflection, and refraction
Diffstat (limited to 'src/physical_constants.h')
-rw-r--r--src/physical_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/physical_constants.h b/src/physical_constants.h
new file mode 100644
index 0000000..2ff87cd
--- /dev/null
+++ b/src/physical_constants.h
@@ -0,0 +1,7 @@
+#ifndef __PHYSICAL_CONSTANTS_H__
+#define __PHYSICAL_CONSTANTS_H__
+
+#define SPEED_OF_LIGHT 2.99792458e8
+#define PI 3.141592653589793
+
+#endif