/** This file is a part of our_dick Copyright (C) 2020 rexy712 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ #ifndef OUR_DICK_GRAPHICS_LIGHTABLE_HPP #define OUR_DICK_GRAPHICS_LIGHTABLE_HPP #include "math/vec.hpp" namespace gfx{ class lightable { protected: math::vec3f m_ambient; math::vec3f m_diffuse; math::vec3f m_specular; float m_shininess; public: void set_ambient(const math::vec3f& a); void set_diffuse(const math::vec3f& d); void set_specular(const math::vec3f& s); void set_shininess(float s); const math::vec3f& get_ambient()const; const math::vec3f& get_diffuse()const; const math::vec3f& get_specular()const; float get_shininess()const; }; } #endif