Skip to content
Snippets Groups Projects
Verified Commit 979b21fa authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

[#111] change to particle count, change integration step

parent 139701c9
No related branches found
No related tags found
1 merge request!95Resolve "Wassersimulation mit Interaktion"
Checking pipeline status
......@@ -60,7 +60,7 @@ void main() {
externalForce = vec3(0, inParticle[id].density * gravity, 0);
for(uint i = 0; i < inParticle.length(); i++)
for(uint i = 0; i < int(particleCount); i++)
{
if (id != i)
{
......
......@@ -51,7 +51,7 @@ void main() {
return;
}
for(uint i = 0; i < inParticle.length(); i++)
for(uint i = 0; i < int(particleCount); i++)
{
if (id != i)
{
......
......@@ -2,7 +2,7 @@
#extension GL_ARB_separate_shader_objects : enable
#define ABSORBTION 0.9
#define dt 0.1
#define dt 0.0001
layout(local_size_x = 256) in;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment