cgv
Loading...
Searching...
No Matches
light_source.cxx
1
#include "light_source.h"
2
3
namespace
cgv
{
4
namespace
media {
5
namespace
illum {
6
7
light_source::light_source
(LightType _t)
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
}
cgv::media::illum::light_source::light_source
light_source(LightType _t=LT_DIRECTIONAL)
init with default values
Definition
light_source.cxx:7
cgv
the cgv namespace
Definition
print.h:11
cgv
media
illum
light_source.cxx
Generated by
1.9.8