fixed create_lattice routine
[physik/posic.git] / visual / visual.c
index 427e765..88bc6e6 100644 (file)
@@ -92,6 +92,7 @@ int visual_atoms(t_visual *v,double time,t_atom *atom,int n) {
        dprintf(v->fd,"rotate y 10\n");
        dprintf(v->fd,"set ambient 20\n");
        dprintf(v->fd,"set specular on\n");
+       dprintf(v->fd,"set boundbox on\n");
        //dprintf(v->fd,"label\n");
        sprintf(file,"%s-%.15f.ppm",v->fb,time);
        dprintf(v->fd,"write ppm %s\n",file);