#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <GL/gl.h>Go to the source code of this file.
Compounds | |
| struct | _GLMgroup |
| struct | _GLMmaterial |
| struct | GLMmodel |
| struct | GLMtriangle |
Defines | |
| #define | M_PI 3.14159265 |
| #define | MakePlane loadOBJfile |
| #define | DrawPlane drawOBJ |
| #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 _GLMgroup | GLMgroup |
Functions | |
| int | loadOBJfile (char *filename) |
| void | drawOBJ (int wingID) |
| 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 (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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001