Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 26 bytes modified

beta.r3js.org
-=yb4f310 2018-01-16 14:50:19 +01:00
parent a123f49a38
commit 02cff5278f
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ var remainder = currentRotation % number;
var result = number - remainder;
//console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' result: ' + result);
if (remainder < 0) {
this.cylinder.rotation.x -= result + 0.4488;
//this.cylinder.rotation.x -= result + 0.4488;
} else {
this.cylinder.rotation.x += result - 0.4488;
}