From a8feed9d7951c9a947562ed687c704851a31ea9b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 21 May 2018 14:35:43 +0200 Subject: Fix VAO, VBO setup, compute shader coupling --- src/shader/compute.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shader') diff --git a/src/shader/compute.glsl b/src/shader/compute.glsl index 58bf08b..e322a08 100644 --- a/src/shader/compute.glsl +++ b/src/shader/compute.glsl @@ -12,9 +12,9 @@ float rand(vec2 co){ bool insideWorld(vec2 v) { return v.x > -world.x/2. - && v.x < world.x/2. - && v.y > -world.y/2. - && v.y < world.y/2.; + && v.x < world.x/2. + && v.y > -world.y/2. + && v.y < world.y/2.; } void main() { -- cgit v1.2.3