[][src]Module hxgm30noise::modifiers::threshold

Structs

Threshold

Noise function that applies a threshold to the output value from the source function, converting it to either 1.0 or -1.0. This is done by comparing the output value to the cutoff: if the value is equal to or less than the cutoff, Threshold converts the value to -1.0; above, and it is converted to 1.0.