pidgin/plugins/crazychat/mat_struct.h@64dada91f5b0
pidgin/plugins/crazychat/mat_struct.h
Fri, 21 Dec 2007 12:17:10 +0000
- author
- Sadrul Habib Chowdhury <sadrul@pidgin.im>
- date
- Fri, 21 Dec 2007 12:17:10 +0000
- changeset 22031
- 64dada91f5b0
- parent 15435
-
4b933b06d75e
- child 16238
-
33bf2fd32108
- child 18068
-
b6554e3c8224
- child 20478
-
46933dc62880
- permissions
- -rw-r--r--
The event handlers need to return a gboolean. Using void callbacks can lead to unpredictable behaviour.
#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;