public class Bond {\r
float[] start;\r
float[] end;\r
- Color startCol;\r
- Color endCol;\r
+ Color startCol = Color.lightGray;\r
+ Color endCol= Color.lightGray;\r
public Atom at1;\r
public Atom at2;\r
\r
this.at2 = at2;\r
}\r
\r
- public Bond(Bond bond) {\r
+ /* public Bond(Bond bond) {\r
this.start = new float[3];\r
\r
this.start[0] = bond.start[0];\r
len = (float) (Math.sqrt(len));\r
\r
return len;\r
- }\r
+ }*/\r
\r
public void translate(float x, float y, float z) {\r
start[0] = (start[0] + x);\r