gonna rewrite water a few times before its done. just getting a bunch of defaults right now.

This commit is contained in:
yggdrasil75
2025-11-23 08:23:34 -05:00
parent c4b6cd6c54
commit 6a05161b70
4 changed files with 601 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
#include "../timing_decorator.hpp"
#include "../output/frame.hpp"
#include "../noise/pnoise2.hpp"
#include "../simblocks/water.hpp"
#include <vector>
#include <unordered_set>
@@ -203,6 +204,10 @@ protected:
Vec4 defaultBackgroundColor = Vec4(0.0f, 0.0f, 0.0f, 0.0f);
PNoise2 noisegen;
//water
std::unordered_map<size_t, WaterParticle> water;
public:
bool usable = false;