Allink
v0.1
|
00001 #include "../include/VarData.h" 00002 #include <GL/glut.h> 00003 00004 extern float ExtraDiam; 00005 extern float ScaleUn; 00006 extern int Values; 00007 extern GLuint Particles,SferaB,SferaV,Griglia,Quad,Point,SferaR,Chains; 00008 extern GLfloat spin,angolo, dspin, 00009 xa, ya, za, 00010 xf, yf, zf, 00011 xp, yp, zp, 00012 xi, yi, zi, 00013 scale, dscale,tscale; 00014 extern char *info; 00015 extern GENERAL *Gen1; 00016 extern float NanoRad,ExtraDiam; 00017 extern float Diameter,StepDiameter; 00018 extern int Passo;//Griglia 00019 extern int IfVideo; 00020 extern int MainWindow,SubWindow1,SubWindow2; 00021 extern int la; 00022 extern int gr; 00023 extern int IfShift; 00024 extern int IfPoint;//point or Sphere 00025 extern int pr; 00026 void Legenda(); 00027 //ElPoly Draw 00028 extern void Principal(int argc,char** argv); 00029 extern void Lista(); 00030 extern void Particle(void); 00031 extern void processEvent(int value); 00032 extern void Menu(); 00033 extern void keyboard(unsigned char key,int x, int y); 00034 extern void InitConstant(); 00035 extern void keyboardDraw(unsigned char key); 00036 extern void Timer(int v); 00037 extern int Picture(); 00038 PART *Pn; 00039 static int NVisChainMin=0; 00040 static int NVisChainMax=0; 00041 static int IfIntorno =0;//Intorno 00042 static int IfColour=0; 00043 static int IfWhite=0; 00044 static int IfLine=0;//disegna i legami 00045 int menu,submenu; 00046 00047 Forces *Fm; 00048 int Part2Move;