If set to true then the program will chose gl.LINES instead of gl.TRIANGES.
gl.LINES
gl.TRIANGES
bool wireframe = false;