Skip to content

Commit caccd85

Browse files
committed
add the constructor
1 parent d81da27 commit caccd85

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/eu/mihosoft/vrl/v3d/Vertex.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ private Vertex(Vector3d pos, double weight) {
8181
this.weight = weight;
8282
}
8383

84+
public Vertex(double x, double y, double z) {
85+
pos = new Vector3d(x, y, z);
86+
}
87+
8488
/*
8589
* (non-Javadoc)
8690
*

0 commit comments

Comments
 (0)