Beispiel #1
0
  public void readObject(DataInput in) throws IOException {
    super.readObject(in);
    ((Light) node).setColor(control.readColor3f(in));
    ((Light) node).setEnable(in.readBoolean());

    boundingLeaf = in.readInt();

    ((Light) node).setInfluencingBounds(control.readBounds(in));

    scope = new int[in.readInt()];
    for (int i = 0; i < scope.length; i++) {
      scope[i] = in.readInt();
    }
  }