diff options
Diffstat (limited to 'src/libs/ray/ray_surface.h')
-rw-r--r-- | src/libs/ray/ray_surface.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libs/ray/ray_surface.h b/src/libs/ray/ray_surface.h new file mode 100644 index 0000000..2e7544b --- /dev/null +++ b/src/libs/ray/ray_surface.h @@ -0,0 +1,15 @@ +#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 highlight_exponent; + float diffuse; +} ray_surface_t; + +#endif |