![]() |
Stellarium 0.12.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure |
Basic light source. More...
#include <StelLight.hpp>
Public Member Functions | |
| bool | operator== (const StelLight &rhs) const |
| Is this light identical to another light? | |
Public Attributes | |
| Vec3f | position |
| Position of the light. | |
| Vec4f | diffuse |
| Difuse light color. | |
| Vec4f | ambient |
| Ambient light color. | |
Basic light source.
Used for lighting calculation when generating a lit sphere, and to pass light parameters to shaders.
(There is no builtin light functionality in StelRenderer - lights are done in shaders, or by manually setting vertex colors)
Definition at line 32 of file StelLight.hpp.
| bool StelLight::operator== | ( | const StelLight & | rhs | ) | const [inline] |
Is this light identical to another light?
Definition at line 42 of file StelLight.hpp.
Ambient light color.
Definition at line 39 of file StelLight.hpp.
Difuse light color.
Definition at line 37 of file StelLight.hpp.
Position of the light.
Definition at line 35 of file StelLight.hpp.
1.6.3