summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_light_emitter.h
blob: 3b5509e83e64c46a5a552a29ac7e8b0d39c9f969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _RAY_LIGHT_EMITTER_H
#define _RAY_LIGHT_EMITTER_H

#include "ray_object_point.h"
#include "ray_object_sphere.h"

typedef enum ray_light_emitter_type_t {
	RAY_LIGHT_EMITTER_TYPE_SPHERE,
	RAY_LIGHT_EMITTER_TYPE_POINT,
} ray_light_emitter_type_t;

typedef union ray_light_emitter_t {
	ray_light_emitter_type_t	type;
	ray_object_sphere_t		sphere;
	ray_object_point_t		point;
} ray_light_emitter_t;

#endif
© All Rights Reserved