cgv
Loading...
Searching...
No Matches
light_source.cxx
1#include "light_source.h"
2
3namespace cgv {
4 namespace media {
5 namespace illum {
6
8 : type(_t), local_to_eye_coordinates(true),
9 position(0,1,0), emission(1,1,1), ambient_scale(0.1f),
10 constant_attenuation(1.0f),linear_attenuation(0.0f),quadratic_attenuation(0.2f),
11 spot_direction(0,-1,0),spot_exponent(10),spot_cutoff(45)
12{
13}
14
15 }
16 }
17}
light_source(LightType _t=LT_DIRECTIONAL)
init with default values
the cgv namespace
Definition print.h:11