Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 81faa6cdbbf40b75d87524219744a11ef6f9218a (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
36
37
38
39
40
41
42
/*
   model/layer.cc
   This file is part of the Osirion project and is distributed under
   the terms of the GNU General Public License version 2
*/

#include "model/layer.h"

namespace model
{

Layer::Layer() :
	layer_rgbgen(RGBGenIdentity),
	layer_color(),
	layer_texmap(TexMapNone),
	layer_texture_name(),
	layer_texture_id(0),
	layer_tcgen(TCGenNone)
{
}

Layer::~Layer()
{
}

void Layer::set_rgbgen(const RGBGen rgbgen)
{
	layer_rgbgen = rgbgen;
}
	
void Layer::set_color(const math::Color & color)
{
	layer_color.assign(color);
}
	
void Layer::set_tcgen(const TCGen tcgen)
{
	layer_tcgen = tcgen;
}
	
}