Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

OBJlib.cc File Reference

#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include "global.h"
#include "OBJlib.h"

Compounds

struct  _GLMnode

Defines

#define T(x)   model->triangles[(x)]

Typedefs

typedef _GLMnode GLMnode

Enumerations

enum  { X, Y, Z, W }

Functions

GLfloat * _glmWeldVectors (GLfloat *vectors, GLuint *numvectors, GLfloat epsilon)
GLMgroup_glmFindGroup (GLMmodel *model, char *name)
GLMgroup_glmAddGroup (GLMmodel *model, char *name)
GLuint _glmFindMaterial (GLMmodel *model, char *name)
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)
GLMmodelglmReadOBJ (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)

Define Documentation

#define T      model->triangles[(x)]
 


Typedef Documentation

typedef struct _GLMnode GLMnode
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
X 
Y 
Z 
W 


Function Documentation

GLMgroup* _glmAddGroup GLMmodel   model,
char *    name
 

GLMgroup* _glmFindGroup GLMmodel   model,
char *    name
 

GLuint _glmFindMaterial GLMmodel   model,
char *    name
 

GLfloat* _glmWeldVectors GLfloat *    vectors,
GLuint *    numvectors,
GLfloat    epsilon
 

GLvoid glmDelete GLMmodel   model
 

GLvoid glmDimensions GLMmodel   model,
GLfloat *    dimensions
 

GLvoid glmDraw GLMmodel   model,
GLuint    mode
 

GLvoid glmFacetNormals GLMmodel   model
 

GLvoid glmLinearTexture GLMmodel   model
 

GLuint glmList GLMmodel   model,
GLuint    mode
 

GLMmodel* glmReadOBJ char *    filename
 

GLvoid glmReverseWinding GLMmodel   model
 

GLvoid glmScale GLMmodel   model,
GLfloat    scale
 

GLvoid glmSpheremapTexture GLMmodel   model
 

GLfloat glmUnitize GLMmodel   model
 

GLvoid glmVertexNormals GLMmodel   model,
GLfloat    angle
 

GLvoid glmWeld GLMmodel   model,
GLfloat    epsilon
 

GLvoid glmWriteOBJ GLMmodel   model,
char *    filename,
GLuint    mode
 


Generated on Sun Jun 16 17:36:43 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001