Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarParallax.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-10-12 04:42:24 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-10-12 04:42:24 +1100
commit991cf9df7e4505a6aa43a2a999049f15af3f9a41 (patch)
tree1c0c6146e41e34190dae87754e6d8115354d0f71 /source/game/StarParallax.hpp
parent063317bca87e9c72df27b5077be10307efb443dc (diff)
Add vertical speed support to parallax layers
Diffstat (limited to 'source/game/StarParallax.hpp')
-rw-r--r--source/game/StarParallax.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarParallax.hpp b/source/game/StarParallax.hpp
index ca82564..c28145b 100644
--- a/source/game/StarParallax.hpp
+++ b/source/game/StarParallax.hpp
@@ -31,7 +31,7 @@ struct ParallaxLayer {
float zLevel;
Vec2F parallaxOffset;
String timeOfDayCorrelation;
- float speed;
+ Vec2F speed;
bool unlit;
bool lightMapped;
float fadePercent;