diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-23 15:12:32 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-09-23 15:12:32 +0200 |
commit | 221354e16c50114a9dea00643c0136abc8b71a67 (patch) | |
tree | 35e2cb3a9db33dcca58d7748cfddb62f5d54a633 /c++/particle | |
parent | 434d18d0317a62fe85304c48baf419a21f120462 (diff) |
Changed the util handling around. Added mass to the simulation and
changed the mass handling for wall expulsion.
Diffstat (limited to 'c++/particle')
-rw-r--r-- | c++/particle/particle.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++/particle/particle.hpp b/c++/particle/particle.hpp index 24757c1..38d0484 100644 --- a/c++/particle/particle.hpp +++ b/c++/particle/particle.hpp @@ -28,6 +28,7 @@ template<typename T, uint64_t D> using Particle = Struct< Member<ParticleRigidBody<T,D>, "rigid_body">, Member<ParticleMask<T,D>, "mask">, + Member<T, "mass">, Member<T, "size"> >; } |