Revision bff329fb
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/library/type/Static3D.java | ||
---|---|---|
46 | 46 |
z = vz; |
47 | 47 |
} |
48 | 48 |
|
49 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
50 |
/** |
|
51 |
* Copy constructor. |
|
52 |
*/ |
|
53 |
public Static3D(Static3D sta) |
|
54 |
{ |
|
55 |
super(3); |
|
56 |
x = sta.x; |
|
57 |
y = sta.y; |
|
58 |
z = sta.z; |
|
59 |
} |
|
60 |
|
|
49 | 61 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
50 | 62 |
/** |
51 | 63 |
* Reset the value of the floats to (vx,vy,vz). |
Also available in: Unified diff
Copy constructors for the Statics.