2 USING: help.syntax help.markup ;
6 ARTICLE: "opengl-low-level" "OpenGL binding"
8 "opengl-specifying-vertices"
9 "opengl-geometric-primitives"
10 "opengl-modeling-transformations"
13 ARTICLE: "opengl-specifying-vertices" "Specifying vertices"
42 ARTICLE: "opengl-geometric-primitives" "OpenGL geometric primitives"
45 { { $link GL_POINTS } "individual points" }
46 { { $link GL_LINES } { "pairs of vertices interpreted as "
47 "individual line segments" } }
48 { { $link GL_LINE_STRIP } "series of connected line segments" }
49 { { $link GL_LINE_LOOP } { "same as above, with a segment added "
50 "between last and first vertices" } }
51 { { $link GL_TRIANGLES }
52 "triples of vertices interpreted as triangles" }
53 { { $link GL_TRIANGLE_STRIP } "linked strip of triangles" }
54 { { $link GL_TRIANGLE_FAN } "linked fan of triangles" }
56 "quadruples of vertices interpreted as four-sided polygons" }
57 { { $link GL_QUAD_STRIP } "linked strip of quadrilaterals" }
58 { { $link GL_POLYGON } "boundary of a simple, convex polygon" } }
64 { "One of the " { $link "opengl-geometric-primitives" } } } } ;
67 { $values { "face" { "One of the following:"
68 { $list { $link GL_FRONT }
70 { $link GL_FRONT_AND_BACK } } } }
71 { "mode" { "One of the following:"
75 { $link GL_FILL } } } } } ;
77 ARTICLE: "opengl-modeling-transformations" "Modeling transformations"
88 { glTranslatef glTranslated glRotatef glRotated glScalef glScaled }