X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fmolecule.c;fp=hacks%2Fglx%2Fmolecule.c;h=3658ada5218aba371afd9a7c9a7ad8933ead926c;hb=488f2fa8fbdbc77e91a70da2962d73af49e6cace;hp=62929647ad7511b34f07e81c983a576b93c41978;hpb=c8c6deae79b408cffbc88043c766b3bc12cf0f13;p=xscreensaver diff --git a/hacks/glx/molecule.c b/hacks/glx/molecule.c index 62929647..3658ada5 100644 --- a/hacks/glx/molecule.c +++ b/hacks/glx/molecule.c @@ -12,10 +12,13 @@ /* 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" \ @@ -574,11 +577,10 @@ build_molecule (ModeInfo *mi, Bool transparent_p) 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); } }