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

beta.r3js.org
-=yb4f310 2018-01-16 14:39:52 +01:00
parent 0ca2a9f9c0
commit 5050e1f1d3
1 changed files with 1 additions and 5 deletions

View File

@ -23,11 +23,7 @@ var result = 0.4488 - remainder;
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
if (remainder > (0.4488 / 2)) {
this.cylinder.rotation.x += remainder;
} else {
this.cylinder.rotation.x -= 0.4488 - remainder;
}
this.cylinder.rotation.x += result;