RotatingCube: Clean up debug printfs
This commit is contained in:
		@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user