From dac8afc1fd7e5e986b67fbb4abbbb12702fe9aad Mon Sep 17 00:00:00 2001 From: yoichi kobayashi Date: Mon, 30 Jan 2017 15:48:34 +0900 Subject: [PATCH] tweak. --- random.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/random.glsl b/random.glsl index 039e284..d184cc5 100644 --- a/random.glsl +++ b/random.glsl @@ -1,4 +1,4 @@ -float random(vec2 co){ - return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453); +float random(vec2 c){ + return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453); } #pragma glslify: export(random)