LWJGL
May 21, 2013, 17:49:38 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Batching  (Read 1757 times)
CaseyB
Talks Too Much
***
Posts: 118



« on: September 15, 2005, 10:35:56 »

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
Logged
princec
Nerdus Imperius
*****
Posts: 1868



WWW
« Reply #1 on: September 15, 2005, 11:08:31 »

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

Cas Smiley
Logged

CaseyB
Talks Too Much
***
Posts: 118



« Reply #2 on: September 15, 2005, 11:21:19 »

Yeah, that's what I thought, but I wanted to double check!  Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!