public void addChild(CubeInfo info) { children.add(info); info.scale = new double[] {1D, 1D, 1D}; info.mcScale = 0.0D; info.opacity = opacity; info.parentIdentifier = identifier; info.hidden = false; }
public void removeChild(CubeInfo info) { children.remove(info); if (info.parentIdentifier != null && info.parentIdentifier.equals(identifier)) { info.parentIdentifier = null; } }