add constructor to coord3d

This commit is contained in:
Martin Pernollet 2022-11-13 18:33:58 +01:00
parent 328f99552e
commit 7bc68099c6
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@ public class Coord3d implements Serializable {
y = yi;
z = 0;
}
public Coord3d(Coord3d c) {
x = c.x;
y = c.y;
z = c.z;
}
public Coord3d(Coord2d c, float zi) {
x = c.x;