blob: cc8453ede7e0c8ef848b8788fc17b993184ee880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
render/light.cc
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2
*/
#include "render/light.h"
namespace render
{
Light::Light() :
light_location(),
light_color(),
light_attenuation(1.0f, 0.0f, 0.0f)
{
}
Light::Light(const math::Vector3f & location, const math::Color & color) :
light_location(location),
light_color(color),
light_attenuation(1.0f, 0.0f, 0.0f)
{
}
Light::~Light()
{
}
} // namespace render
|