From 84ad960895fe0f78f76db0366bc04d7c3c7cb4f3 Mon Sep 17 00:00:00 2001 From: amandaghassaei <amandaghassaei@gmail.com> Date: Wed, 31 May 2017 22:02:42 -0400 Subject: [PATCH] small changes --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d932638..b8c4fc1 100755 --- a/index.html +++ b/index.html @@ -215,7 +215,7 @@ vec4 thetas = texture2D(u_theta, scaledCreaseIndex); vec3 creaseMeta = texture2D(u_creaseMeta, scaledCreaseIndex).xyz;//[k, d, targetTheta] vec4 creaseGeo = texture2D(u_creaseGeo, scaledCreaseIndex);//[h1, h2, coef1, coef2] - if (creaseGeo[0]< 0.0) continue; + if (creaseGeo[0]< 0.0) continue;//crease disabled bc it has collapsed too much float targetTheta = creaseMeta[2] * u_creasePercent; float angForce = creaseMeta[0]*(targetTheta-thetas[0]);// + creaseMeta[1]*thetas[1]; -- GitLab