Mountain  1.0.0
Simple C++ 2D Game Framework
light_source.hpp
1 #pragma once
2 
3 #include "Mountain/core.hpp"
4 
6 
7 namespace Mountain
8 {
9  struct MOUNTAIN_API LightSource
10  {
11  Color color = Color::White();
12  float_t intensity = 0.f;
13  float_t radius = 0.f;
14  float_t angleMin = 0.f;
15  float_t angleMax = Calc::TwoPi;
16 
17  Vector2 position;
18  };
19 }
Defines multiple color structs.
static constexpr Color White()
Constant for White.
The Color struct represents a color in RGBA color space.
Definition: color.hpp:26
Contains all declarations of the Mountain Framework.
Definition: audio.hpp:22