mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Move AutoExposure constructor to header
This commit is contained in:
parent
e8f6127779
commit
d2004d32f6
3 changed files with 8 additions and 16 deletions
|
@ -30,7 +30,14 @@ struct AutoExposure
|
|||
/// @brief Power value for center-weighted metering. Value of 1.0 measures entire screen uniformly
|
||||
float center_weight_power;
|
||||
|
||||
AutoExposure();
|
||||
constexpr AutoExposure()
|
||||
: luminance_min(-3.f),
|
||||
luminance_max(-3.f),
|
||||
exposure_correction(0.0f),
|
||||
speed_dark_bright(1000.f),
|
||||
speed_bright_dark(1000.f),
|
||||
center_weight_power(1.f)
|
||||
{}
|
||||
};
|
||||
|
||||
/** Describes ambient light settings for a player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue