git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4059 update Jmol and JSmol to 15.2.69 - revised Jalview classes interating with...
[jalview.git]
/
src
/
mc_view
/
Bond.java
diff --git
a/src/mc_view/Bond.java
b/src/mc_view/Bond.java
index
e609506
..
0714ae3
100755
(executable)
--- a/
src/mc_view/Bond.java
+++ b/
src/mc_view/Bond.java
@@
-24,9
+24,9
@@
import java.awt.Color;
public class Bond
{
public class Bond
{
- float[] start;
+ double[] start;
- float[] end;
+ double[] end;
Color startCol = Color.lightGray;
Color startCol = Color.lightGray;
@@
-38,8
+38,8
@@
public class Bond
public Bond(Atom at1, Atom at2)
{
public Bond(Atom at1, Atom at2)
{
- this.start = new float[] { at1.x, at1.y, at1.z };
- this.end = new float[] { at2.x, at2.y, at2.z };
+ this.start = new double[] { at1.x, at1.y, at1.z };
+ this.end = new double[] { at2.x, at2.y, at2.z };
this.startCol = at1.color;
this.endCol = at2.color;
this.at1 = at1;
this.startCol = at1.color;
this.endCol = at2.color;
this.at1 = at1;
@@
-68,7
+68,7
@@
public class Bond
* return len; }
*/
* return len; }
*/
- public void translate(float x, float y, float z)
+ public void translate(double x, double y, double z)
{
start[0] = start[0] + x;
end[0] = end[0] + x;
{
start[0] = start[0] + x;
end[0] = end[0] + x;