Exemple #1
0
 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;
 }
Exemple #2
0
 public void removeChild(CubeInfo info) {
   children.remove(info);
   if (info.parentIdentifier != null && info.parentIdentifier.equals(identifier)) {
     info.parentIdentifier = null;
   }
 }