Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 23 bytes modified
parent
af8645825c
commit
e37e8a3121
|
@ -13,9 +13,9 @@ if (!this.initialized) {
|
||||||
|
|
||||||
this.animationSystem.start();
|
this.animationSystem.start();
|
||||||
|
|
||||||
var currentRotation = this.cylinder.rotation.x;
|
var currentRotation = this.cylinder.rotation.x - 0.4488;
|
||||||
|
|
||||||
var number = 0.4488;
|
var number = 0.897597901;
|
||||||
|
|
||||||
var remainder = currentRotation % number;
|
var remainder = currentRotation % number;
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ var result = number - remainder;
|
||||||
|
|
||||||
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
|
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
|
||||||
|
|
||||||
this.cylinder.rotation.x += result;
|
this.cylinder.rotation.x += result + 0.4488;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue