mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Convert spaces to tabs (#13506)
* Convert spaces to tabs * Desour reviews 1-3 fix * Desour fixes * Undo alignment changes
This commit is contained in:
@@ -30,27 +30,27 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
*/
|
||||
struct AutoExposure
|
||||
{
|
||||
/// @brief Minimum boundary for computed luminance
|
||||
float luminance_min;
|
||||
/// @brief Maximum boundary for computed luminance
|
||||
float luminance_max;
|
||||
/// @brief Luminance bias. Higher values make the scene darker, can be negative.
|
||||
float exposure_correction;
|
||||
/// @brief Speed of transition from dark to bright scenes
|
||||
float speed_dark_bright;
|
||||
/// @brief Speed of transition from bright to dark scenes
|
||||
float speed_bright_dark;
|
||||
/// @brief Power value for center-weighted metering. Value of 1.0 measures entire screen uniformly
|
||||
float center_weight_power;
|
||||
/// @brief Minimum boundary for computed luminance
|
||||
float luminance_min;
|
||||
/// @brief Maximum boundary for computed luminance
|
||||
float luminance_max;
|
||||
/// @brief Luminance bias. Higher values make the scene darker, can be negative.
|
||||
float exposure_correction;
|
||||
/// @brief Speed of transition from dark to bright scenes
|
||||
float speed_dark_bright;
|
||||
/// @brief Speed of transition from bright to dark scenes
|
||||
float speed_bright_dark;
|
||||
/// @brief Power value for center-weighted metering. Value of 1.0 measures entire screen uniformly
|
||||
float center_weight_power;
|
||||
|
||||
AutoExposure();
|
||||
AutoExposure();
|
||||
};
|
||||
|
||||
/** Describes ambient light settings for a player
|
||||
*/
|
||||
struct Lighting
|
||||
{
|
||||
AutoExposure exposure;
|
||||
float shadow_intensity {0.0f};
|
||||
float saturation {1.0f};
|
||||
AutoExposure exposure;
|
||||
float shadow_intensity {0.0f};
|
||||
float saturation {1.0f};
|
||||
};
|
||||
|
Reference in New Issue
Block a user