X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=visual%2Fvisual.h;h=416f82bd9482e80bb49bb4c02b262841c3c9ff44;hb=bb3e6f4ab3dfea9083e0d5b7d403ee6197f4041d;hp=e2681d95f3d6f5c4ac3322d94f1c56cac0615c3e;hpb=45b27e01673a6cc5bebecb49c51d7f587917483e;p=physik%2Fposic.git diff --git a/visual/visual.h b/visual/visual.h index e2681d9..416f82b 100644 --- a/visual/visual.h +++ b/visual/visual.h @@ -8,15 +8,17 @@ #ifndef VISUAL_H #define VISUAL_H -#include "../moldyn.h" #include "../math/math.h" +/* datatypes */ + typedef struct s_visual { int fd; /* rasmol script file descriptor */ char fb[128]; /* basename of the save files */ t_3dvec dim; /* dimensions of the simulation cell */ } t_visual; +#include "../moldyn.h" /* function prototypes */ @@ -25,3 +27,5 @@ int visual_tini(t_visual *v); int visual_atoms(t_visual *v,double time,t_atom *atom,int n); #endif + +