view pidgin/plugins/crazychat/mat_struct.h @ 24894:cead8692e35f

Terminate the loop on the first null-character. (Currently it would not terminate for the first null in, e.g. "1 2 \0 3")
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 06 Jan 2009 19:50:18 +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;