1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00: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:
Thresher 2023-05-26 09:13:57 -04:00 committed by GitHub
parent f4cb16cc2d
commit 00c647e4cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 118 additions and 118 deletions

View file

@ -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};
};