From 61126aa886703c1e0dae702b36e0d4d02b032eb8 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 16 Jan 2018 14:31:33 +0100 Subject: [PATCH] Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 30 bytes modified --- abw1ga2etc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abw1ga2etc.js b/abw1ga2etc.js index 9bb1947..a7112f8 100644 --- a/abw1ga2etc.js +++ b/abw1ga2etc.js @@ -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 {