1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/sceneutil/lightcommon.hpp
florent.teppe 486d15b19e moved light common to its own file
moved esm4light to it's own file
2023-02-07 16:29:17 +01:00

39 lines
598 B
C++

#ifndef COMPONENTS_SCENEUTIL_LIGHTCOMMON
#define COMPONENTS_SCENEUTIL_LIGHTCOMMON
#include <string_view>
#include <variant>
#include <osg/Vec4>
namespace ESM4
{
struct Light;
}
namespace ESM
{
struct Light;
}
namespace SceneUtil
{
struct LightCommon
{
explicit LightCommon(const ESM::Light& light);
explicit LightCommon(const ESM4::Light& light);
bool mFlicker;
bool mFlickerSlow;
bool mNegative;
bool mPulse;
bool mPulseSlow;
bool mOffDefault;
osg::Vec4 mColor;
float mRadius;
};
}
#endif