#include <GL/gl.h>
Go to the source code of this file.
Classes | |
struct | _GLMmaterial |
struct | _GLMtriangle |
struct | _GLMgroup |
struct | _GLMmodel |
Defines | |
#define | M_PI 3.14159265 |
#define | GLM_NONE (0) |
#define | GLM_FLAT (1 << 0) |
#define | GLM_SMOOTH (1 << 1) |
#define | GLM_TEXTURE (1 << 2) |
#define | GLM_COLOR (1 << 3) |
#define | GLM_MATERIAL (1 << 4) |
Typedefs | |
typedef _GLMmaterial | GLMmaterial |
typedef _GLMtriangle | GLMtriangle |
typedef _GLMgroup | GLMgroup |
typedef _GLMmodel | GLMmodel |
Functions | |
GLfloat | glmUnitize (GLMmodel *model) |
GLvoid | glmDimensions (GLMmodel *model, GLfloat *dimensions) |
GLvoid | glmScale (GLMmodel *model, GLfloat scale) |
GLvoid | glmReverseWinding (GLMmodel *model) |
GLvoid | glmFacetNormals (GLMmodel *model) |
GLvoid | glmVertexNormals (GLMmodel *model, GLfloat angle) |
GLvoid | glmLinearTexture (GLMmodel *model) |
GLvoid | glmSpheremapTexture (GLMmodel *model) |
GLvoid | glmDelete (GLMmodel *model) |
GLMmodel * | glmReadOBJ (const char *filename) |
GLvoid | glmWriteOBJ (GLMmodel *model, char *filename, GLuint mode) |
GLvoid | glmDraw (GLMmodel *model, GLuint mode) |
GLuint | glmList (GLMmodel *model, GLuint mode) |
GLvoid | glmWeld (GLMmodel *model, GLfloat epsilon) |
|
Definition at line 21 of file glm.h. Referenced by glmDraw(), and glmWriteOBJ(). |
|
Definition at line 18 of file glm.h. Referenced by glmWriteOBJ(). |
|
Definition at line 22 of file glm.h. Referenced by glmWriteOBJ(). |
|
|
|
Definition at line 19 of file glm.h. Referenced by glmWriteOBJ(). |
|
Definition at line 20 of file glm.h. Referenced by glmWriteOBJ(). |
|
Definition at line 14 of file glm.h. Referenced by Hemisphere::dir2uvPriorToPoweredZenith(), Hemisphere::dir2uvPriorToZenith(), Hemisphere::dir2uvUniformly(), glmVertexNormals(), Photon::Photon(), Sphere::randomDirection(), Sphere::randomSample(), and Hemisphere::world2local2D(). |
|
|
|
|
|
|
|
|
|
Definition at line 1269 of file glm.c. References _GLMmodel::facetnorms, _GLMmodel::groups, _GLMmodel::materials, _GLMmodel::mtllibname, _GLMmaterial::name, _GLMgroup::name, _GLMgroup::next, _GLMmodel::normals, _GLMmodel::nummaterials, _GLMmodel::pathname, _GLMmodel::texcoords, _GLMmodel::triangles, _GLMgroup::triangles, and _GLMmodel::vertices. |
|
Definition at line 838 of file glm.c. References _GLMmodel::numvertices, and _GLMmodel::vertices. Referenced by glmLinearTexture(). |
|
Definition at line 1580 of file glm.c. References _GLMmaterial::ambient, _GLMmaterial::diffuse, _GLMmodel::facetnorms, _GLMtriangle::findex, GLM_COLOR, _GLMmodel::groups, _GLMgroup::material, _GLMmodel::materials, _GLMgroup::next, _GLMtriangle::nindices, _GLMmodel::normals, _GLMgroup::numtriangles, _GLMmaterial::shininess, _GLMmaterial::specular, T, _GLMmodel::texcoords, _GLMtriangle::tindices, _GLMgroup::triangles, _GLMmodel::vertices, and _GLMtriangle::vindices. Referenced by glmList(). |
|
Definition at line 944 of file glm.c. References _GLMmodel::facetnorms, _GLMtriangle::findex, glmCross(), glmNormalize(), _GLMmodel::numfacetnorms, _GLMmodel::numtriangles, T, _GLMmodel::triangles, and _GLMmodel::vertices. Referenced by MayaParser::_init_model(). |
|
Definition at line 1157 of file glm.c. References glmAbs(), glmDimensions(), glmMax(), _GLMmodel::numtexcoords, _GLMmodel::numvertices, _GLMmodel::texcoords, and _GLMmodel::vertices. |
|
Definition at line 1696 of file glm.c. References glmDraw(). |
|
|
Definition at line 898 of file glm.c. References _GLMmodel::numnormals, _GLMmodel::numtexcoords, _GLMmodel::numtriangles, swap, and T. |
|
Definition at line 880 of file glm.c. References _GLMmodel::numvertices, and _GLMmodel::vertices. |
|
Definition at line 1212 of file glm.c. References _GLMmodel::normals, _GLMmodel::numnormals, _GLMmodel::numtexcoords, and _GLMmodel::texcoords. Referenced by MayaParser::_init_model(). |
|
Definition at line 774 of file glm.c. References _GLMmodel::numvertices, and _GLMmodel::vertices. Referenced by MayaParser::_init_model(). |
|
Definition at line 1001 of file glm.c. References _GLMmodel::facetnorms, M_PI, _GLMmodel::normals, _GLMmodel::numnormals, _GLMmodel::numtriangles, _GLMmodel::numvertices, and T. Referenced by MayaParser::_init_model(). |
|
Definition at line 1717 of file glm.c. References glmWeldVectors(), _GLMmodel::numtriangles, _GLMmodel::numvertices, T, and _GLMmodel::vertices. |
|
Definition at line 1386 of file glm.c. References _GLMmodel::facetnorms, GLM_COLOR, GLM_FLAT, GLM_MATERIAL, GLM_SMOOTH, GLM_TEXTURE, glmWriteMTL(), _GLMmodel::materials, _GLMmodel::mtllibname, _GLMmodel::normals, _GLMmodel::numvertices, _GLMmodel::texcoords, and _GLMmodel::vertices. |