Revision: 5151
Author: hansonr
Date: 2006-05-20 10:56:37 -0700 (Sat, 20 May 2006)
ViewCVS: http://svn.sourceforge.net/jmol/?rev=5151&view=rev
Log Message:
-----------
bob200603 fixes old bug from March in g3d cylinder rendering
already fixed in trunk by Miguel.
Modified Paths:
--------------
branches/bob200603/Jmol/src/org/jmol/g3d/Cylinder3D.java
Modified: branches/bob200603/Jmol/src/org/jmol/g3d/Cylinder3D.java
===================================================================
--- branches/bob200603/Jmol/src/org/jmol/g3d/Cylinder3D.java 2006-05-20
14:10:42 UTC (rev 5150)
+++ branches/bob200603/Jmol/src/org/jmol/g3d/Cylinder3D.java 2006-05-20
17:56:37 UTC (rev 5151)
@@ -68,14 +68,13 @@
int xA, int yA, int zA, int xB, int yB, int zB) {
if (isFullyClipped(diameter, xA, yA, zA, xB, yB, zB))
return;
+ dxB = xB - xA; dyB = yB - yA; dzB = zB - zA;
if (diameter <= 1) {
g3d.plotLineDelta(colixA, colixB, xA, yA, zA, dxB, dyB, dzB);
return;
}
this.diameter = diameter;
this.xA = xA; this.yA = yA; this.zA = zA;
- this.dxB = xB - xA; this.dyB = yB - yA; this.dzB = zB - zA;
-
this.shadesA = g3d.getShades(this.colixA = colixA);
this.shadesB = g3d.getShades(this.colixB = colixB);
this.isScreenedA = (colixA & Graphics3D.TRANSLUCENT_MASK) != 0;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits