www.pudn.com > 三维天空与地形.zip > globals.h, change:2001-10-10,size:327b
#ifndef GLOBALS_H_
#define GLOBALS_H_
#include <windows.h>
#include <GL\gl.h>
#include <GL\glu.h>
#define PI 3.1415926535897f
#define DTOR (PI/180.0f)
#define SQR(x) (x*x)
typedef struct {
float x,y,z;
unsigned int color;
float u, v;
} VERTEX;
extern VERTEX *Vertices;
extern int NumVertices;
#endif