Main Menu

Batching

Started by CaseyB, September 15, 2005, 17:35:56

Previous topic - Next topic

CaseyB

Between GL11.glBegin(GL11.GL_TRIANGLES) /* or GL_QUADS */ and GL11.glEnd(), one can define as many triangles (or quads) and they want.  Is there any way to do the same with GL_POLYONS or is it only polygon per begin/end?

Casey

princec

Just one. The glEnd() tells it that you want to join the last point with the first one, you see.

Cas :)

CaseyB

Yeah, that's what I thought, but I wanted to double check!  Thanks!