2014-03-26 16:47:56 +00:00
|
|
|
#ifndef OPENCS_VIEW_LIGHTING_DAY_H
|
|
|
|
#define OPENCS_VIEW_LIGHTING_DAY_H
|
|
|
|
|
|
|
|
#include "lighting.hpp"
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class LightingDay : public Lighting
|
|
|
|
{
|
2022-09-22 18:26:05 +00:00
|
|
|
public:
|
|
|
|
LightingDay();
|
2014-03-26 16:47:56 +00:00
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
void activate(osg::Group* rootNode, bool /*isExterior*/) override;
|
2014-03-26 16:47:56 +00:00
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
void deactivate() override;
|
2014-03-26 16:47:56 +00:00
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
osg::Vec4f getAmbientColour(osg::Vec4f* defaultAmbient) override;
|
2014-03-26 16:47:56 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|