Added ambient lighting

This commit is contained in:
Robert 2021-01-25 20:53:28 +01:00
parent dea312a704
commit 482205b96e
9 changed files with 69 additions and 9 deletions

View file

@ -0,0 +1,22 @@
#ifndef AMBIENT_HPP
#define AMBIENT_HPP
#include <core.hpp>
#include <color.hpp>
namespace oglu
{
class OGLU_API AmbientLight
{
public:
AmbientLight();
AmbientLight(GLfloat r, GLfloat g, GLfloat b, GLfloat intensity);
AmbientLight(const Color& color, GLfloat intensity);
AmbientLight(const AmbientLight& other);
GLfloat intensity;
Color color;
};
}
#endif