Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 55 bytes modified
parent
67ef60a4d7
commit
641e5be53f
|
@ -19,7 +19,9 @@ var remainder = currentRotation % 0.4488;
|
||||||
|
|
||||||
var integer = Math.floor(currentRotation);
|
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)) {
|
if (remainder > (0.4488 / 2)) {
|
||||||
this.cylinder.rotation.x += remainder;
|
this.cylinder.rotation.x += remainder;
|
||||||
|
|
Loading…
Reference in New Issue