remove logging

This commit is contained in:
Peli de Halleux 2016-04-01 06:35:59 -07:00
parent 68d22947bb
commit a7a9685963

View File

@ -701,7 +701,6 @@ svg.sim.grayscale {
let z2 = 1023*1023 - x * x - y * y; let z2 = 1023*1023 - x * x - y * y;
let z = Math.floor((z2 > 0 ? -1 : 1)* Math.sqrt(Math.abs(z2))); 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); state.accelerometer.update(x,y,z);
this.updateTilt(); this.updateTilt();
}, false); }, false);
@ -723,7 +722,6 @@ svg.sim.grayscale {
accy = 0; accy = 0;
accz = -1023; accz = -1023;
} }
console.log(`leave: ${accx} ${accy} ${accz}`)
state.accelerometer.update(accx, accy, accz); state.accelerometer.update(accx, accy, accz);
this.updateTilt(); this.updateTilt();
}, 50) }, 50)