Revision: 20237 http://sourceforge.net/p/jmol/code/20237 Author: hansonr Date: 2015-01-23 01:53:29 +0000 (Fri, 23 Jan 2015) Log Message: ----------- very important for JavaScript!
Modified Paths: -------------- trunk/Jmol/src/org/jmol/g3d/LineRenderer.java trunk/Jmol/src/org/jmol/g3d/PixelatorScreened.java trunk/Jmol/src/org/jmol/g3d/PixelatorT.java Modified: trunk/Jmol/src/org/jmol/g3d/LineRenderer.java =================================================================== --- trunk/Jmol/src/org/jmol/g3d/LineRenderer.java 2015-01-23 00:40:09 UTC (rev 20236) +++ trunk/Jmol/src/org/jmol/g3d/LineRenderer.java 2015-01-23 01:53:29 UTC (rev 20237) @@ -423,7 +423,7 @@ private final static int VISIBILITY_CLIPPED = 1; private final static int VISIBILITY_OFFSCREEN = 2; - private int x1t, y1t, z1t, x2t, y2t, z2t, cc1, cc2; // trimmed + private int x1t, y1t, z1t, x2t, y2t, z2t; // trimmed /** *<p> @@ -445,8 +445,8 @@ private int getTrimmedLine() { // formerly "visibilityCheck()" - cc1 = g3d.clipCode3(x1t, y1t, z1t); - cc2 = g3d.clipCode3(x2t, y2t, z2t); + int cc1 = g3d.clipCode3(x1t, y1t, z1t); + int cc2 = g3d.clipCode3(x2t, y2t, z2t); if ((cc1 | cc2) == 0) return VISIBILITY_UNCLIPPED; Modified: trunk/Jmol/src/org/jmol/g3d/PixelatorScreened.java =================================================================== --- trunk/Jmol/src/org/jmol/g3d/PixelatorScreened.java 2015-01-23 00:40:09 UTC (rev 20236) +++ trunk/Jmol/src/org/jmol/g3d/PixelatorScreened.java 2015-01-23 01:53:29 UTC (rev 20237) @@ -43,7 +43,7 @@ } @Override - protected void addPixel(int offset, int z, int p) { + void addPixel(int offset, int z, int p) { if ((offset % width) % 2 == (offset / width) % 2) p0.addPixel(offset, z, p); } Modified: trunk/Jmol/src/org/jmol/g3d/PixelatorT.java =================================================================== --- trunk/Jmol/src/org/jmol/g3d/PixelatorT.java 2015-01-23 00:40:09 UTC (rev 20236) +++ trunk/Jmol/src/org/jmol/g3d/PixelatorT.java 2015-01-23 01:53:29 UTC (rev 20237) @@ -44,7 +44,7 @@ } @Override - protected void addPixel(int offset, int z, int p) { + void addPixel(int offset, int z, int p) { int zT = g.zbufT[offset]; if (z < zT) { // new in front -- merge old translucent with opaque This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits