view plugins/crazychat/mat_struct.h @ 13415:3038ab2eff72

[gaim-migrate @ 15790] In the context of the if...else if...else statement below, it looks like the idea is to check the pointers, not the data they're pointing two. Resolves CID 70 committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Mar 2006 01:50:00 +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;