#ifndef POINT_HPP #define POINT_HPP #include #include #include namespace oglu { class Transformable; class OGLU_API PointLight { public: PointLight(); PointLight(const glm::vec3& position, const Color& diffusionColor = Color::White, const Color& specularColor = Color::White); PointLight(const PointLight& other); ~PointLight(); void LinkPositionToTransformable(Transformable& link); void UnlinkPositionFromTransformable(); float* GetPositionPointer(); public: Color diffusionColor; Color specularColor; private: glm::vec3* position; bool isLinked; }; } #endif