This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Adapted from https://gist.github.com/digitalshadow/134a3a02b67cecd72181 | |
*/ | |
@SuppressWarnings({"unused", "WeakerAccess"}) | |
public final class OpenSimplexNoise { | |
private final byte[] perm = new byte[256]; | |
private final byte[] perm2D = new byte[256]; | |
private final byte[] perm3D = new byte[256]; | |
private final byte[] perm4D = new byte[256]; |