minor refactor
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "interfaces/Serializable.hpp"
|
||||
|
||||
#include "ParticlesPreset.hpp"
|
||||
|
||||
struct WeatherPreset : Serializable {
|
||||
struct {
|
||||
/// @brief Precipitation texture
|
||||
@@ -14,6 +18,8 @@ struct WeatherPreset : Serializable {
|
||||
float hspeed = 0.1f;
|
||||
/// @brief UV scaling
|
||||
float scale = 0.1f;
|
||||
/// @brief Fall splash
|
||||
std::optional<ParticlesPreset> splash;
|
||||
} fall {};
|
||||
|
||||
dv::value serialize() const override;
|
||||
|
||||
Reference in New Issue
Block a user