diff --git a/RotatingCube/RotatingCube.js b/RotatingCube/RotatingCube.js index 0c3db0c..96d5b0b 100644 --- a/RotatingCube/RotatingCube.js +++ b/RotatingCube/RotatingCube.js @@ -174,9 +174,7 @@ function initArrayBuffer(gl, data, num, type, attribute) { function rotate(axis) { if (axis in v_rotate) { v_rotate[axis] += 15.0; - v_rotate[axis] %= 360; // bound to [0, 360) - - console.log(`${axis} = ${v_rotate[axis]}`); + v_rotate[axis] %= 360; // bound to [0, 360)\ } draw(gl); }