I have painted two rectangles (QUADS) and I would like to move one of these on the X axis.
I have succeded with the movement by changing the variable “move” in the below code
gl.glTranslatef(move, this.y, this.z);
But then both rectangles are moved. I would like to move only one of them. How can I do that?