]>
Dogcows Code - chaz/rasterize/blob - light.h
99c0d7c3abfa1aee87c0911066e4f142c0eb3302
3 * CS5600 University of Utah
5 * mcgarvey@eng.utah.edu
23 typedef struct light light_t
;
27 * Initialize a light with a color and position.
30 void light_init(light_t
* l
, color_t color
, vec_t position
)
33 l
->position
= position
;
38 * Create a new light with a color and position.
41 light_t
light_new(color_t color
, vec_t position
)
44 light_init(&l
, color
, position
);
This page took 0.029996 seconds and 3 git commands to generate.