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

beta.r3js.org
-=yb4f310 2018-01-16 14:36:22 +01:00
parent 67ef60a4d7
commit 641e5be53f
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ var remainder = currentRotation % 0.4488;
var integer = Math.floor(currentRotation);
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer);
var result = integer * 0.4488;
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
if (remainder > (0.4488 / 2)) {
this.cylinder.rotation.x += remainder;