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

15 lines
257 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), direction = glm::vec3(0);
glm::vec3 color = glm::vec3(1);
};