Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 70 bytes modified
parent
61126aa886
commit
67ef60a4d7
|
@ -17,7 +17,9 @@ var currentRotation = this.cylinder.rotation.x;
|
|||
|
||||
var remainder = currentRotation % 0.4488;
|
||||
|
||||
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder);
|
||||
var integer = Math.floor(currentRotation);
|
||||
|
||||
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer);
|
||||
|
||||
if (remainder > (0.4488 / 2)) {
|
||||
this.cylinder.rotation.x += remainder;
|
||||
|
|
Loading…
Reference in New Issue