}
@Override
public void setCuboidPoint(int id, int x, int y, int z) {
if (id == 0) {
firstPoint = new PointCube(x, y, z);
firstPoint.setColor(LineColor.CUBOIDPOINT1);
} else if (id == 1) {
secondPoint = new PointCube(x, y, z);
secondPoint.setColor(LineColor.CUBOIDPOINT2);
}
}