29 lines
499 B
C++

#pragma once
#include "glm/vec3.hpp"
#include "glm/vec4.hpp"
class Light
{
public:
enum LightType
{
BASE,
SPOT
};
Light(glm::vec3 intensity, glm::vec4 location);
Light(glm::vec3 intensity, glm::vec4 location, float spot_cutoff, float spot_inner_cutoff, float spot_exponent, glm::vec3 direction);
~Light();
bool activated = true;
LightType type;
glm::vec3 intensity;
glm::vec4 location;
float spot_cutoff;
float spot_inner_cutoff;
float spot_exponent;
glm::vec3 direction;
};