From 521f37e04d698b6c2eaff2ae59fd6e13377316a9 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 13 Jan 2026 18:29:26 +0100 Subject: Reworking elements --- examples/particles_gpu/particles_gpu.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/particles_gpu/particles_gpu.cpp') diff --git a/examples/particles_gpu/particles_gpu.cpp b/examples/particles_gpu/particles_gpu.cpp index 9697ac6..dfd5af3 100644 --- a/examples/particles_gpu/particles_gpu.cpp +++ b/examples/particles_gpu/particles_gpu.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include namespace kel{ @@ -30,9 +30,7 @@ saw::error_or lbm_main(int argc, char** argv){ auto& pos = body.template get<"position">(); auto& old_pos = body.template get<"position_old">(); auto& acceleration = body.template get<"acceleration">(); - auto& p_size = part.template get<"size">(); auto& p_rad = part.template get<"collision">().template get<"radius">(); - p_size = {0.4f}; p_rad = {0.4f}; if(j.get() % 2u == 0) acceleration.at({{1u}}) = {-9.81}; -- cgit v1.2.3