From 67ef60a4d78c256354a295e9eda75bdc22a77208 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 16 Jan 2018 14:35:48 +0100 Subject: [PATCH] Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 70 bytes modified --- abw1ga2etc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/abw1ga2etc.js b/abw1ga2etc.js index a7112f8..54b5aaa 100644 --- a/abw1ga2etc.js +++ b/abw1ga2etc.js @@ -17,7 +17,9 @@ var currentRotation = this.cylinder.rotation.x; var remainder = currentRotation % 0.4488; -console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder); +var integer = Math.floor(currentRotation); + +console.log('current rotation: ' + currentRotation + ' remainder : ' + remainder + ' integer : ' + integer); if (remainder > (0.4488 / 2)) { this.cylinder.rotation.x += remainder;