Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/structStelLight.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:25:03 2014 Кодировка: Поисковые слова: annular solar eclipse |
![]() |
Stellarium 0.12.3
|
Basic light source. More...
#include <StelLight.hpp>
Public Member Functions | |
bool | operator== (const StelLight &rhs) const |
Is this light identical to another light? More... | |
Public Attributes | |
Vec3f | position |
Position of the light. More... | |
Vec4f | diffuse |
Difuse light color. More... | |
Vec4f | ambient |
Ambient light color. More... | |
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.
|
inline |
Is this light identical to another light?
Definition at line 42 of file StelLight.hpp.
Vec4f StelLight::ambient |
Ambient light color.
Definition at line 39 of file StelLight.hpp.
Vec4f StelLight::diffuse |
Difuse light color.
Definition at line 37 of file StelLight.hpp.
Vec3f StelLight::position |
Position of the light.
Definition at line 35 of file StelLight.hpp.