Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>Does OpenGL ES not have glu? </p> </blockquote> <p>No, it doesn't. Look at this: <a href="http://newcod.uberfinity.com/research/glincludes" rel="noreferrer">Platform OpenGL Includes collection</a>. Under Android there are only the following headers:</p> <p>OpenGL ES 1.1:</p> <pre><code>#include &lt;GLES/gl.h&gt; #include &lt;GLES/glext.h&gt; </code></pre> <p>OpenGL ES 2.0:</p> <pre><code>#include &lt;GLES2/gl2.h&gt; #include &lt;GLES2/gl2ext.h&gt; </code></pre> <hr> <blockquote> <p>Is there a port I can use? </p> </blockquote> <p>Yes, there is a partial port of GLU for Android - <a href="http://code.google.com/p/glues/" rel="noreferrer">GLU ES</a> (it supports <code>gluErrorString</code>, <code>gluPerspective</code> and numerous other functions):</p> <blockquote> <p><strong>GLU 1.3 partitial port (libutil and libtess components only) for OpenGL ES 1.x (CM - Common profile) and above.</strong> </p> <p>This port supports: </p> <ul> <li>Quadrics: gluNewQuadric(), gluDeleteQuadric(), gluQuadricCallback(), gluQuadricNormals(), gluQuadricTexture(), gluQuadricOrientation(), gluQuadricDrawStyle(), gluCylinder(), gluDisk(), gluPartialDisk(), gluSphere(). </li> <li>Registry: gluGetString(), gluCheckExtension(), <strong>gluErrorString()</strong>. </li> <li>Projection matrix manipulation: gluOrtho2D(), gluPerspective(), gluLookAt(), gluProject(), gluUnProject(), gluUnProject4(), gluPickMatrix(). 2D Mipmaps: gluScaleImage(), gluBuild2DMipmapLevels(), gluBuild2DMipmaps(). </li> <li>Tesselation: gluBeginPolygon(), gluDeleteTess(), gluEndPolygon(), gluGetTessProperty(), gluNewTess(), gluNextContour(), gluTessBeginContour(), gluTessBeginPolygon(), gluTessCallback(), gluTessEndContour(), gluTessEndPolygon(), gluTessNormal(), gluTessProperty(), gluTessVertex().</li> </ul> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload