Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/include/light.h
2018-11-08 08:57:41 -05:00

17 lines
272 B
C++

#pragma once
#include <glm/glm.hpp>
enum class LightType {
Point,
Directional
};
class Light {
public:
LightType type = LightType::Point;
glm::vec3 position = glm::vec3(0);
glm::vec3 color = glm::vec3(1);
glm::mat4 matrix = glm::mat4(1.0f);
};