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

16 lines
257 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;
glm::vec3 position = glm::vec3(0), direction = glm::vec3(0);
2018-10-18 21:46:48 -04:00
glm::vec3 color = glm::vec3(1);
};