getNoise2 method
Implementation
@override
double getNoise2(double x, double y) {
final dx = x * frequency;
final dy = y * frequency;
switch (cellularReturnType) {
case CellularReturnType.cellValue:
case CellularReturnType.distance:
return singleCellular2(dx, dy);
default:
return singleCellular2Edge2(dx, dy);
}
}