summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ray/ray_surface.h')
-rw-r--r--src/modules/ray/ray_surface.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/ray/ray_surface.h b/src/modules/ray/ray_surface.h
new file mode 100644
index 0000000..b3e3c68
--- /dev/null
+++ b/src/modules/ray/ray_surface.h
@@ -0,0 +1,14 @@
+#ifndef _RAY_MATERIAL_H
+#define _RAY_MATERIAL_H
+
+#include "ray_3f.h"
+#include "ray_color.h"
+
+/* Surface properties we expect every object to be able to introspect */
+typedef struct ray_surface_t {
+ ray_color_t color;
+ float specular;
+ float diffuse;
+} ray_surface_t;
+
+#endif
© All Rights Reserved