Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 26 bytes modified
parent
a123f49a38
commit
02cff5278f
|
@ -21,10 +21,10 @@ var remainder = currentRotation % number;
|
||||||
|
|
||||||
var result = number - remainder;
|
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) {
|
if (remainder < 0) {
|
||||||
this.cylinder.rotation.x -= result + 0.4488;
|
//this.cylinder.rotation.x -= result + 0.4488;
|
||||||
} else {
|
} else {
|
||||||
this.cylinder.rotation.x += result - 0.4488;
|
this.cylinder.rotation.x += result - 0.4488;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue