Mercurial > pidgin.yaz
view pidgin/plugins/crazychat/mat_struct.h @ 22771:5954c65ae4f4
Don't count the size of an array at runtime if it's known at compile time.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Wed, 30 Apr 2008 17:00:27 +0000 |
parents | 5fe8042783c1 |
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;