Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 30 bytes modified
parent
cf95162762
commit
61126aa886
|
@ -15,10 +15,10 @@ this.animationSystem.start();
|
|||
|
||||
var currentRotation = this.cylinder.rotation.x;
|
||||
|
||||
console.log('current rotation: ' + currentRotation);
|
||||
|
||||
var remainder = currentRotation % 0.4488;
|
||||
|
||||
console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder);
|
||||
|
||||
if (remainder > (0.4488 / 2)) {
|
||||
this.cylinder.rotation.x += remainder;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue