fgledgeflag.html
来自「计算机图形学~想必是很多人需要的~在此共享一下」· HTML 代码 · 共 59 行
HTML
59 行
<HTML><BODY><PRE> <STRONG>NAME</STRONG> <STRONG>fglEdgeFlag,</STRONG> <STRONG>fglEdgeFlagv</STRONG> - flag edges as either boundary or nonboundary <STRONG>FORTRAN</STRONG> <STRONG>SPECIFICATION</STRONG> SUBROUTINE <STRONG>fglEdgeFlag</STRONG>( LOGICAL*1 <EM>flag</EM> ) <STRONG>PARAMETERS</STRONG> <EM>flag</EM> Specifies the current edge flag value, either <STRONG>GL_TRUE</STRONG> or <STRONG>GL_FALSE</STRONG>. The initial value is <STRONG>GL_TRUE</STRONG>. <STRONG>FORTRAN</STRONG> <STRONG>SPECIFICATION</STRONG> SUBROUTINE <STRONG>fglEdgeFlagv</STRONG>( CHARACTER*8 <EM>flag</EM> ) <STRONG>PARAMETERS</STRONG> <EM>flag</EM> Specifies a pointer to an array that contains a single boolean element, which replaces the current edge flag value. <STRONG>DESCRIPTION</STRONG> Each vertex of a polygon, separate triangle, or separate quadrilateral specified between a <STRONG>fglBegin</STRONG>/<STRONG>fglEnd</STRONG> pair is marked as the start of either a boundary or nonboundary edge. If the current edge flag is true when the vertex is specified, the vertex is marked as the start of a boundary edge. Otherwise, the vertex is marked as the start of a nonboundary edge. <STRONG>fglEdgeFlag</STRONG> sets the edge flag bit to <STRONG>GL_TRUE</STRONG> if <EM>flag</EM> is <STRONG>GL_TRUE</STRONG>, and to <STRONG>GL_FALSE</STRONG> otherwise. The vertices of connected triangles and connected quadrilaterals are always marked as boundary, regardless of the value of the edge flag. Boundary and nonboundary edge flags on vertices are significant only if <STRONG>GL_POLYGON_MODE</STRONG> is set to <STRONG>GL_POINT</STRONG> or <STRONG>GL_LINE</STRONG>. See <STRONG>fglPolygonMode</STRONG>. <STRONG>NOTES</STRONG> The current edge flag can be updated at any time. In particular, <STRONG>fglEdgeFlag</STRONG> can be called between a call to <STRONG>fglBegin</STRONG> and the corresponding call to <STRONG>fglEnd</STRONG>. <STRONG>ASSOCIATED</STRONG> <STRONG>GETS</STRONG> <STRONG>fglGet</STRONG> with argument <STRONG>GL_EDGE_FLAG</STRONG> <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG> <STRONG>fglBegin</STRONG>, <STRONG>fglEdgeFlagPointer</STRONG>, <STRONG>fglPolygonMode</STRONG></PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?