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

18 lines
272 B
C
Raw Normal View History

2018-10-18 21:46:48 -04:00
#pragma once
#include <glm/glm.hpp>
2018-11-07 05:27:00 -05:00
enum class LightType {
Point,
Directional
};
2018-10-18 21:46:48 -04:00
class Light {
public:
2018-11-07 05:27:00 -05:00
LightType type = LightType::Point;
2018-11-08 08:57:41 -05:00
glm::vec3 position = glm::vec3(0);
2018-10-18 21:46:48 -04:00
glm::vec3 color = glm::vec3(1);
2018-11-08 08:57:41 -05:00
glm::mat4 matrix = glm::mat4(1.0f);
2018-10-18 21:46:48 -04:00
};