| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> |
| 2 | <!-- saved from url=(0013)about:internet --> |
| 3 | <?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:pref="http://www.w3.org/2002/Math/preference" pref:renderer="mathplayer-dl"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>gluQuadricOrientation</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /></head><body><div class="refentry" lang="en" xml:lang="en"><a id="gluQuadricOrientation"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>gluQuadricOrientation — specify inside/outside orientation for quadrics</p></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">gluQuadricOrientation</b>(</code></td><td>GLUquadric* </td><td><var class="pdparam">quad</var>, </td></tr><tr><td> </td><td>GLenum </td><td><var class="pdparam">orientation</var><code>)</code>;</td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="parameters"></a><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>quad</code></em></span></dt><dd><p> |
| 4 | Specifies the quadrics object (created with <a class="citerefentry" href="gluNewQuadric.xml"><span class="citerefentry"><span class="refentrytitle">gluNewQuadric</span></span></a>). |
| 5 | </p></dd><dt><span class="term"><em class="parameter"><code>orientation</code></em></span></dt><dd><p> |
| 6 | Specifies the desired orientation. Valid values are |
| 7 | <code class="constant">GLU_OUTSIDE</code> and |
| 8 | <code class="constant">GLU_INSIDE</code>. |
| 9 | </p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p> |
| 10 | <code class="function">gluQuadricOrientation</code> specifies what kind of orientation is desired for quadrics rendered |
| 11 | with <em class="parameter"><code>quad</code></em>. The <em class="parameter"><code>orientation</code></em> values are as follows: |
| 12 | </p><div class="variablelist"><dl><dt><span class="term"><code class="constant">GLU_OUTSIDE</code> </span></dt><dd><p> |
| 13 | Quadrics are drawn with normals pointing outward (the initial value). |
| 14 | </p></dd><dt><span class="term"><code class="constant">GLU_INSIDE</code> </span></dt><dd><p> |
| 15 | Quadrics are drawn with normals pointing inward. |
| 16 | </p></dd></dl></div><p> |
| 17 | Note that the interpretation of <span class="emphasis"><em>outward</em></span> and <span class="emphasis"><em>inward</em></span> depends on the |
| 18 | quadric being drawn. |
| 19 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p> |
| 20 | <a class="citerefentry" href="gluNewQuadric.xml"><span class="citerefentry"><span class="refentrytitle">gluNewQuadric</span></span></a>, |
| 21 | <a class="citerefentry" href="gluQuadricDrawStyle.xml"><span class="citerefentry"><span class="refentrytitle">gluQuadricDrawStyle</span></span></a>, |
| 22 | <a class="citerefentry" href="gluQuadricNormals.xml"><span class="citerefentry"><span class="refentrytitle">gluQuadricNormals</span></span></a>, |
| 23 | <a class="citerefentry" href="gluQuadricTexture.xml"><span class="citerefentry"><span class="refentrytitle">gluQuadricTexture</span></span></a> |
| 24 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="Copyright"></a><h2>Copyright</h2><p> |
| 25 | Copyright <span class="trademark"></span>© 1991-2006 |
| 26 | Silicon Graphics, Inc. This document is licensed under the SGI |
| 27 | Free Software B License. For details, see |
| 28 | <a class="ulink" href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>. |
| 29 | </p></div></div></body></html> |