X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2Fpt_lights.hxx;h=863328dc60bffafcd90500e4aca615bcc8e854e7;hb=3b5665fe92802d3d36d6304cb2c184dc03e91de4;hp=af066f808cb75fead5e890f017a3f1517c1ea0bf;hpb=f712bc92941a1edbb24be103a8e8cfdcab3e0b68;p=simgear.git diff --git a/simgear/scene/tgdb/pt_lights.hxx b/simgear/scene/tgdb/pt_lights.hxx index af066f80..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,15 +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); + 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