--- a/pidgin/plugins/crazychat/glm.h Mon Jan 03 19:18:07 2011 +0000 +++ b/pidgin/plugins/crazychat/glm.h Tue Jan 04 06:42:45 2011 +0000 @@ -1,7 +1,7 @@ #ifndef __GLM__H__ #define __GLM__H__ -/* +/* glm.h */ @@ -27,7 +27,7 @@ #define GLM_MATERIAL (1 << 4) /* render with materials */ -/* GLMmaterial: Structure that defines a material in a model. +/* GLMmaterial: Structure that defines a material in a model. */ typedef struct _GLMmaterial { @@ -103,7 +103,7 @@ * scaling it to fit in a unit cube around the origin. Returns the * scalefactor used. * - * model - properly initialized GLMmodel structure + * model - properly initialized GLMmodel structure */ GLfloat glmUnitize(GLMmodel* model); @@ -118,7 +118,7 @@ glmDimensions(GLMmodel* model, GLfloat* dimensions); /* glmScale: Scales a model by a given amount. - * + * * model - properly initialized GLMmodel structure * scale - scalefactor (0.5 = half as large, 2.0 = twice as large) */ @@ -128,8 +128,8 @@ /* glmReverseWinding: Reverse the polygon winding for all polygons in * this model. Default winding is counter-clockwise. Also changes * the direction of the normals. - * - * model - properly initialized GLMmodel structure + * + * model - properly initialized GLMmodel structure */ GLvoid glmReverseWinding(GLMmodel* model); @@ -196,9 +196,9 @@ * Returns a pointer to the created object which should be free'd with * glmDelete(). * - * filename - name of the file containing the Wavefront .OBJ format data. + * filename - name of the file containing the Wavefront .OBJ format data. */ -GLMmodel* +GLMmodel* glmReadOBJ(char* filename); /* glmWriteOBJ: Writes a model description in Wavefront .OBJ format to @@ -239,7 +239,7 @@ * GLM_FLAT - render with facet normals * GLM_SMOOTH - render with vertex normals * GLM_TEXTURE - render with texture coords - * GLM_FLAT and GLM_SMOOTH should not both be specified. + * GLM_FLAT and GLM_SMOOTH should not both be specified. */ GLuint glmList(GLMmodel* model, GLuint mode); @@ -255,10 +255,10 @@ GLvoid glmWeld(GLMmodel* model, GLfloat epsilon); -GLMmat_str* +GLMmat_str* glmMTL(char* name); -void +void glmSetMat(GLMmat_str* mats, GLint index); # ifdef __cplusplus