Does OpenGL ES not have glu?
OpenGL ES 1.1:
#include
#include
OpenGL ES 2.0:
#include
#include
Is there a port I can use?
是的,Android的部分端口为GLU – GLU ES(支持gluErrorString,gluPerspective和许多其他功能):
GLU 1.3 partitial port (libutil and libtess components only) for
OpenGL ES 1.x (CM – Common profile) and above.
This port supports:
Quadrics: gluNewQuadric(), gluDeleteQuadric(), gluQuadricCallback(),
gluQuadricNormals(), gluQuadricTexture(), gluQuadricOrientation(),
gluQuadricDrawStyle(), gluCylinder(), gluDisk(), gluPartialDisk(),
gluSphere().
Registry: gluGetString(), gluCheckExtension(),
gluErrorString().
Projection matrix manipulation: gluOrtho2D(),
gluPerspective(), gluLookAt(), gluProject(), gluUnProject(),
gluUnProject4(), gluPickMatrix(). 2D Mipmaps: gluScaleImage(),
gluBuild2DMipmapLevels(), gluBuild2DMipmaps().
Tesselation: gluBeginPolygon(), gluDeleteTess(), gluEndPolygon(), gluGetTessProperty(), gluNewTess(), gluNextContour(), gluTessBeginContour(), gluTessBeginPolygon(), gluTessCallback(), gluTessEndContour(), gluTessEndPolygon(), gluTessNormal(), gluTessProperty(), gluTessVertex().