remove logging
This commit is contained in:
parent
68d22947bb
commit
a7a9685963
@ -701,7 +701,6 @@ svg.sim.grayscale {
|
||||
let z2 = 1023*1023 - x * x - y * y;
|
||||
let z = Math.floor((z2 > 0 ? -1 : 1)* Math.sqrt(Math.abs(z2)));
|
||||
|
||||
console.log(`move: ${ax} ${y} ${z}`)
|
||||
state.accelerometer.update(x,y,z);
|
||||
this.updateTilt();
|
||||
}, false);
|
||||
@ -723,7 +722,6 @@ svg.sim.grayscale {
|
||||
accy = 0;
|
||||
accz = -1023;
|
||||
}
|
||||
console.log(`leave: ${accx} ${accy} ${accz}`)
|
||||
state.accelerometer.update(accx, accy, accz);
|
||||
this.updateTilt();
|
||||
}, 50)
|
||||
|
Loading…
Reference in New Issue
Block a user