view plugins/crazychat/mat_struct.h @ 12352:e3fefd3ebc72

[gaim-migrate @ 14656] fix the automatic color generation, see the comment I inserted and many thanks to Err. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 05 Dec 2005 16:32:10 +0000
parents ed017b9c532d
children
line wrap: on
line source

#include <GL/gl.h>
#include <GL/glu.h>

typedef struct sample_MATERIAL{
 GLfloat ambient[3];
 GLfloat diffuse[3];
 GLfloat specular[3];
 GLfloat emission[3];
 GLfloat alpha;
 GLfloat phExp;
 int   texture;
}sample_MATERIAL;