EZ_Begin man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

EZ_Begin(3)			EZWGL Functions			   EZ_Begin(3)

NAME
       EZ_Begin, EZ_End - delimit the vertices of a primitive

SYNOPSIS
       #include <EZ.h>

       void  EZ_Begin(int mode)
       void  EZ_End(void)

ARGUMENTS
       mode  Specify  the primitive that will be created from vertices between
       EZ_Begin and the paring EZ_End. mode is one of EZ_LINES, EZ_LINE_STRIP,
       EZ_LINE_LOOP,	EZ_TRIANGLES,	 EZ_TRIANGLE_STRIP,   EZ_TRIANGLE_FAN,
       EZ_QUADS, EZ_QUAD_STRIP, EZ_POLYGON and EZ_POINTS.

DESCRIPTION
       The EZ_Begin and EZ_End pair delimit vertices that define  a  primitive
       or  a list of primitives.  mode determines the interpretation of subse‐
       quent vertices. The interpretation of mode is described below.

	  EZ_LINES Treats each pair of vertices as a separate line segment.

	  EZ_LINE_STRIP Subsequent vertices defines a polyline.

	  EZ_LINE_LOOP Subsequent vertices defines a closed polyline.

	  EZ_TRIANGLES Treats each triplet of vertices as a separate triangle.

	  EZ_TRIANGLE_STRIP Subsequent vertices defines	 a  triangular	strip.
	  The  first  3	 vertices  defines  the first triangle; vertices 3,2,4
	  defines the second triangle; vertices 3,4,5 defines the third trian‐
	  gle ...

	  EZ_TRIANGLE_FAN  Subsequent  verticse	 defines a group of triangles.
	  All of them share the first vertex. Thus, vertices 1,2,3 defines the
	  first triangle; vertices 1,2,4 defines the second triangle ...

	  EZ_QUADS  Treats  every group of four vertices as a separate quadri‐
	  lateral.

	  EZ_QUAD_STRIP	 Subsequent verticse defines a group  of  quadrilater‐
	  als.	Vertices  1,2,4,3  defines  the	 first	one;  vertices 3,4,6,5
	  defines the second one ...

	  EZ_POLYGON Subsequent vertices defines a polygon.

	  EZ_POINTS Treats subsequent vertices as individual points.

       EZ_Begin/EZ_End pair cannot be nested. The only commands allowed inside
       a  EZ_Begin/EZ_End  pair are: EZ_Vertex, EZ_Color, EZ_Index, EZ_Normal,
       EZ_Material, EZ_Light, EZ_CallList.

SEE ALSO
       EZ_Normal3f(3), EZ_Color3f(3), EZ_Index(3)

EZWGL								   EZ_Begin(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net