From: <ha...@us...> - 2010-01-15 08:44:08
|
Revision: 12136 http://jmol.svn.sourceforge.net/jmol/?rev=12136&view=rev Author: hansonr Date: 2010-01-15 08:43:59 +0000 (Fri, 15 Jan 2010) Log Message: ----------- version=11.9.19 # new feature: calculate hydrogens Modified Paths: -------------- trunk/Jmol/src/org/jmol/modelset/AtomCollection.java Modified: trunk/Jmol/src/org/jmol/modelset/AtomCollection.java =================================================================== --- trunk/Jmol/src/org/jmol/modelset/AtomCollection.java 2010-01-15 08:37:51 UTC (rev 12135) +++ trunk/Jmol/src/org/jmol/modelset/AtomCollection.java 2010-01-15 08:43:59 UTC (rev 12136) @@ -1141,18 +1141,21 @@ // sp3 sp3 sp3 sp sp2 sp2 switch (bondCount - nBonds) { case 1: - getHybridizationAndAxes(i, z, x, "sp3", false); + // sp3 + getHybridizationAndAxes(i, z, x, "lpa", false); pt = new Point3f(z); pt.scaleAdd(1.1f, atom); hAtoms[i][hPt++] = pt; break; case 2: + // sp2 getHybridizationAndAxes(i, z, x, "sp2c", false); pt = new Point3f(z); pt.scaleAdd(1.1f, atom); hAtoms[i][hPt++] = pt; break; case 3: + // sp getHybridizationAndAxes(i, z, x, "sp", false); pt = new Point3f(z); pt.scaleAdd(1.1f, atom); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |