summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_surface.h
blob: 2e7544b8f8563a6518e9090a0ea03b5cbdb0ec1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
© All Rights Reserved