This commit is contained in:
2026-04-08 12:17:41 -05:00
parent f75a438422
commit a8f55d2ebe
9 changed files with 481 additions and 19 deletions

View File

@@ -5,6 +5,8 @@
#include "extratools.h"
#include "utils/Renderer/RenderTarget.h"
#include "Object.h"
namespace Archimedes {

View File

@@ -0,0 +1,27 @@
#ifndef LIGHT_H
#define LIGHT_H
#include "pch.hpp"
#include "extratools.h"
#include "Object.h"
namespace Archimedes {
class Light : public Object {
public:
Light(glm::mat4 t = glm::mat4(1.0f), float a = 2 * glm::pi<float>()) : Object(t), angle(a) {};
Light() : Object(glm::mat4(1.0f)), angle(2 * glm::pi<float>()) {}
~Light() {};
private:
float angle;
};
}
#endif

View File

@@ -5,7 +5,6 @@
#include "extratools.h"
#include "utils/Renderer/RenderTarget.h"
namespace Archimedes {