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