diff options
Diffstat (limited to 'themes/Snowflake.h')
-rw-r--r-- | themes/Snowflake.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/themes/Snowflake.h b/themes/Snowflake.h index 08f1c0c..d44851b 100644 --- a/themes/Snowflake.h +++ b/themes/Snowflake.h @@ -14,6 +14,7 @@ struct SnowflakeLoadParameters { float32 flakeSizeDeviation = 1.f; Vector4 snowColor = { 0.8, 0.8, 0.8, 1.0 }; float32 spawnIntervalSeconds = 0.3; + float32 windIntervalSeconds = 1.5; }; struct SnowflakeUpdateData { @@ -31,12 +32,14 @@ struct SnowflakeParticleRenderer { float32 xMax = 0; float32 yMax = 0; float32 spawnIntervalSeconds = 0.3; + float32 windIntervalSeconds = 1.5; int32 startIndex = 0; int32 endIndex = 0; int32 numSnowflakes = 0; - Vector3 windSpeed = { 0, 0, 0 }; + Vector2 windSpeed; SnowflakeUpdateData* updateData; - float32 timeUntilNextSpawnSeconds = 0;; + float32 timeUntilNextSpawnSeconds = 0; + float32 timeUntilNextWindSeconds = 0; uint32 vao; uint32 vbo; |