diff options
Diffstat (limited to 'src/shader')
-rw-r--r-- | src/shader/compute.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
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() { |