public void rangeModeSetUp(int coordDims1) { int rangeRange = 4; for (int i = 0; i < coordDims1; ++i) { int varyRangeBy = i % 2 == 0 ? 2 : 1; LightDataProvider lightDP = new LightDataProvider(new Chunk()); FaceInfo faceinfo = new FaceInfo(new Coord(i, 4, 0), new Range1D(0, rangeRange - varyRangeBy), Direction.ypos, lightDP); fa.addFaceInfoRange(faceinfo); } }
public void addRangeToFaceAggregatorWithFaceInfoRange(FaceInfo faceInfo) { FaceAggregator fa = faceAggregatorAt(faceInfo.coord, faceInfo.direction); fa.addFaceInfoRange(faceInfo); }