minor refactor

This commit is contained in:
MihailRis 2025-02-11 02:39:31 +03:00
parent 7635fdf807
commit 830e05733f
4 changed files with 64 additions and 50 deletions

View file

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