mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 20:16:41 +00:00
General code cleanup.
This commit is contained in:
@ -28,7 +28,8 @@ import com.sk89q.worldedit.Vector2D;
|
||||
public interface NoiseGenerator {
|
||||
|
||||
/**
|
||||
* Get the noise for the given position.
|
||||
* Get the noise value for the given position. The returned value may
|
||||
* change on every future call for the same position.
|
||||
*
|
||||
* @param position the position
|
||||
* @return a noise value between 0 (inclusive) and 1 (inclusive)
|
||||
@ -36,7 +37,8 @@ public interface NoiseGenerator {
|
||||
float noise(Vector2D position);
|
||||
|
||||
/**
|
||||
* Get the noise for the given position.
|
||||
* Get the noise value for the given position. The returned value may
|
||||
* change on every future call for the same position.
|
||||
*
|
||||
* @param position the position
|
||||
* @return a noise value between 0 (inclusive) and 1 (inclusive)
|
||||
|
@ -25,7 +25,8 @@ import com.sk89q.worldedit.Vector2D;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* Generates noise non-deterministically using {@link java.util.Random}.
|
||||
* Generates noise using {@link java.util.Random}. Every time a noise
|
||||
* generating function is called, a new value will be returned.
|
||||
*/
|
||||
public class RandomNoise implements NoiseGenerator {
|
||||
|
||||
|
@ -24,8 +24,9 @@ import com.sk89q.worldedit.Vector;
|
||||
/**
|
||||
* An affine transform.
|
||||
* </p>
|
||||
* This class is from the <a href="http://geom-java.sourceforge.net/index.html>JavaGeom
|
||||
* project</a>, which is licensed under LGPL v2.1.
|
||||
* This class is from the
|
||||
* <a href="http://geom-java.sourceforge.net/index.html>JavaGeom project</a>,
|
||||
* which is licensed under LGPL v2.1.
|
||||
*/
|
||||
public class AffineTransform implements Transform {
|
||||
|
||||
|
Reference in New Issue
Block a user