summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_surface.h
blob: b3e3c68c3bee8db8f3aaac2c263d8613b81d16c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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