/* 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; } }