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

beta.r3js.org
-=yb4f310 2018-01-16 14:44:44 +01:00
parent af8645825c
commit e37e8a3121
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@ if (!this.initialized) {
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;
@ -25,7 +25,7 @@ var result = number - remainder;
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer + ' result: ' + result);
this.cylinder.rotation.x += result;
this.cylinder.rotation.x += result + 0.4488;