started implementing intersection functions and the main renderer data
[cyberay] / src / rt.h
diff --git a/src/rt.h b/src/rt.h
new file mode 100644 (file)
index 0000000..7f09375
--- /dev/null
+++ b/src/rt.h
@@ -0,0 +1,15 @@
+#ifndef RT_H_
+#define RT_H_
+
+#include <cgmath/cgmath.h>
+#include "image.h"
+
+struct material {
+       cgm_vec3 color;
+       float roughness;
+       float ior;
+
+       struct image *tex_color;
+};
+
+#endif /* RT_H_ */