Hymn to Beauty
C++ 3D Engine
Light.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
5namespace Video {
9 glm::vec4 direction;
10
13};
14
16struct Light {
19
22
25};
26} // namespace Video
Definition: Editor.hpp:18
A directional light used for lighting the scene.
Definition: Light.hpp:7
glm::vec4 intensitiesAmbientCoefficient
Intensity and ambient coefficient.
Definition: Light.hpp:12
glm::vec4 direction
Direction.
Definition: Light.hpp:9
A light used for lighting the scene.
Definition: Light.hpp:16
glm::vec4 positionDistance
Position and distance.
Definition: Light.hpp:18
glm::vec4 intensitiesAttenuation
Intensity and attenuation.
Definition: Light.hpp:21
glm::vec4 directionConeAngle
Direction and angle of the cone (in degrees).
Definition: Light.hpp:24