X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2Fpt_lights.hxx;h=863328dc60bffafcd90500e4aca615bcc8e854e7;hb=3b5665fe92802d3d36d6304cb2c184dc03e91de4;hp=6357c14c23c090ab907f052ff6c43ef83ca2954b;hpb=9cbbe5559844317f44744788ddb308101a1e75e9;p=simgear.git diff --git a/simgear/scene/tgdb/pt_lights.hxx b/simgear/scene/tgdb/pt_lights.hxx index 6357c14c..863328dc 100644 --- a/simgear/scene/tgdb/pt_lights.hxx +++ b/simgear/scene/tgdb/pt_lights.hxx @@ -40,6 +40,7 @@ #include #include +#include #include #include "SGLightBin.hxx" @@ -85,12 +86,19 @@ public: const SGVec4f& red, const SGVec4f& white); static osg::Node* - getSequenced(const SGDirectionalLightBin& lights); + getSequenced(const SGDirectionalLightBin& lights, const simgear::SGReaderWriterOptions* options); static osg::Node* - getOdal(const SGLightBin& lights); + getOdal(const SGLightBin& lights, const simgear::SGReaderWriterOptions* options); + + static osg::Node* + getHoldShort(const SGDirectionalLightBin& lights, const simgear::SGReaderWriterOptions* options); + + static osg::Node* + getGuard(const SGDirectionalLightBin& lights, const simgear::SGReaderWriterOptions* options); }; simgear::Effect* getLightEffect(float size, const osg::Vec3& attenuation, - float minSize, float maxSize, bool directional); + float minSize, float maxSize, bool directional, + const simgear::SGReaderWriterOptions* options); #endif // _SG_PT_LIGHTS_HXX