Elevate Engine 1
Loading...
Searching...
No Matches
DirectionalLight.h
Go to the documentation of this file.
1#pragma once
2#include "Light.h"
3
4namespace Elevate
5{
6 class DirectionalLight : public Light
7 {
8 public:
10
11 DirectionalLight() = default;
12 DirectionalLight(const glm::vec3& color) : Light(color) { }
13
14 const glm::vec3 CalculateDirection() const;
15
17 };
18}
#define BEGIN_COMPONENT(T,...)
#define END_COMPONENT()
const glm::vec3 CalculateDirection() const