use of com.fastasyncworldedit.core.math.MutableVector3 in project FastAsyncWorldEdit by IntellectualSites.
the class NoiseFilter method setDensity.
/**
* Set the probability of passing as a number between 0 and 1 (inclusive).
*/
public void setDensity(double density) {
checkArgument(density >= 0, "density must be >= 0");
checkArgument(density <= 1, "density must be <= 1");
this.density = density;
// FAWE start - mutable
this.mutable = new MutableVector3();
// FAWE end
}
Aggregations