/* Documentation on the PDB file format:
+ http://www.wwpdb.org/docs.html
http://www.rcsb.org/pdb/file_formats/pdb/pdbguide2.2/guide2.2_frame.html
Good source of PDB files:
http://www.sci.ouc.bc.ca/chem/molecule/molecule.html
+ http://www.umass.edu/microbio/rasmol/whereget.htm
+ http://www.wwpdb.org/docs.html
*/
#define DEFAULTS "*delay: 10000 \n" \
if (thickness > 0.3)
thickness = 0.3;
- tube (from->x, from->y, from->z,
- to->x, to->y, to->z,
- thickness, cap_size,
- faces, smooth, (!do_atoms || do_shells), wire);
- polys += faces;
+ polys += tube (from->x, from->y, from->z,
+ to->x, to->y, to->z,
+ thickness, cap_size,
+ faces, smooth, (!do_atoms || do_shells), wire);
}
}
}
else if (event->xany.type == ButtonPress &&
(event->xbutton.button == Button4 ||
- event->xbutton.button == Button5))
+ event->xbutton.button == Button5 ||
+ event->xbutton.button == Button6 ||
+ event->xbutton.button == Button7))
{
gltrackball_mousewheel (mc->trackball, event->xbutton.button, 10,
!!event->xbutton.state);