diff options
Diffstat (limited to 'src/mbgl/style/layers/hillshade_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/hillshade_layer_properties.hpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mbgl/style/layers/hillshade_layer_properties.hpp b/src/mbgl/style/layers/hillshade_layer_properties.hpp index 6433151148..85ef8b967c 100644 --- a/src/mbgl/style/layers/hillshade_layer_properties.hpp +++ b/src/mbgl/style/layers/hillshade_layer_properties.hpp @@ -14,37 +14,37 @@ namespace mbgl { namespace style { -struct HillshadeIlluminationDirection : PaintProperty<float> { - static float defaultValue() { return 335; } -}; - -struct HillshadeIlluminationAnchor : PaintProperty<HillshadeIlluminationAnchorType> { - static HillshadeIlluminationAnchorType defaultValue() { return HillshadeIlluminationAnchorType::Viewport; } +struct HillshadeAccentColor : PaintProperty<Color> { + static Color defaultValue() { return Color::black(); } }; struct HillshadeExaggeration : PaintProperty<float> { static float defaultValue() { return 0.5; } }; -struct HillshadeShadowColor : PaintProperty<Color> { - static Color defaultValue() { return Color::black(); } -}; - struct HillshadeHighlightColor : PaintProperty<Color> { static Color defaultValue() { return Color::white(); } }; -struct HillshadeAccentColor : PaintProperty<Color> { +struct HillshadeIlluminationAnchor : PaintProperty<HillshadeIlluminationAnchorType> { + static HillshadeIlluminationAnchorType defaultValue() { return HillshadeIlluminationAnchorType::Viewport; } +}; + +struct HillshadeIlluminationDirection : PaintProperty<float> { + static float defaultValue() { return 335; } +}; + +struct HillshadeShadowColor : PaintProperty<Color> { static Color defaultValue() { return Color::black(); } }; class HillshadePaintProperties : public Properties< - HillshadeIlluminationDirection, - HillshadeIlluminationAnchor, + HillshadeAccentColor, HillshadeExaggeration, - HillshadeShadowColor, HillshadeHighlightColor, - HillshadeAccentColor + HillshadeIlluminationAnchor, + HillshadeIlluminationDirection, + HillshadeShadowColor > {}; class HillshadeLayerProperties final : public LayerProperties { |