test
This commit is contained in:
27
src/include/utils/Objects/Light.h
Normal file
27
src/include/utils/Objects/Light.h
Normal 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
|
||||
Reference in New Issue
Block a user