home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / chemesthetics_427.lzh / Chemesthetics / Source / Source.LZH / chem_defs.h < prev    next >
C/C++ Source or Header  |  1990-12-06  |  636b  |  29 lines

  1. typedef struct
  2. {
  3.   double    x, y, z;
  4. }      VEKTOR;
  5.  
  6. typedef struct
  7. {
  8.   char        name[3];
  9.   int        x, y, z;
  10.   int        r;
  11. }      ATOMTYP;
  12.  
  13. struct Atom
  14. {
  15.   char Kurzz[3];
  16.   char Name[20];
  17.   int Farbe;
  18. };
  19.  
  20. #define MAXATOM 60               /* Hoechstmoegliche Anzahl von Atomen */
  21. #define ATOMVERGRFAKT 1.5           /* Vergr. der Kalottenradien */
  22. #define BILDSCHIRMABSTAND 6000.0       /* 6100 pm entspricht einem Abstand
  23.                       des Beobachters vom Bildschirm von
  24.                       ca. 60 cm, wichtig fuer Berechnung
  25.                       der Perspektive   */
  26. typedef ATOMTYP T_A[MAXATOM];           /* Atome        */
  27. typedef int T_MB[MAXATOM];           /* moegliche Berhrungen*/
  28.  
  29.