From 6a0bf31c9cc93fffd86f9ea87b7429daf70d88d0 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Tue, 12 Jul 2022 14:20:53 -0500 Subject: [PATCH] RotatingCube: Clean up debug printfs --- RotatingCube/RotatingCube.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }