clone method

FogExp2 clone()

Returns a new FogExp2 instance with the same parameters as this one.

Implementation

FogExp2 clone() {
  return FogExp2(color.getHex(), density);
}