void glDrawArrays(
GLenum mode, GLint first, GLsizei count)
;第一個參數代表
glDrawArrays的繪製模式
Specifies what kind of primitives to render. Symbolic constants
GL_POINTS
, GL_LINE_STRIP
, GL_LINE_LOOP
, GL_LINES
, GL_TRIANGLE_STRIP
,GL_TRIANGLE_FAN
, GL_TRIANGLES
, GL_QUAD_STRIP
, GL_QUADS
, and GL_POLYGON
are accepted.此網站有以圖片介紹其意義
http://www.opengl.org/sdk/docs/man/xhtml/glDrawArrays.xml
http://www.ophonesdn.com/article/show/173