From 68b8ee8136ba7b78b1a7b1535d975c24d145a514 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Tue, 21 Mar 2023 07:12:29 +0100 Subject: [PATCH] example of faster speed --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index acaaed0..09cacd4 100644 --- a/index.html +++ b/index.html @@ -2382,8 +2382,8 @@ function emptyPinchToMove(){ // start be movable after .05 diam if (previousPosition){ diff = previousPosition.sub(event.detail.position).clone() - pushBackClass("hidableenvironment", diff.z) - pushRightClass("hidableenvironment", diff.x) + pushBackClass("hidableenvironment", diff.z*10) // consider something exponential instead + pushRightClass("hidableenvironment", diff.x*10) // could rely on getArrayFromClass(classname) to then move on these 2 dimensions } }