Class NoiseUtils

java.lang.Object
gaiasky.util.noise.NoiseUtils

public class NoiseUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    mod289​(float x)
     
    static com.badlogic.gdx.math.Vector3
    mod289​(com.badlogic.gdx.math.Vector3 x)
     
    static float
    permute​(float x)
     
    static com.badlogic.gdx.math.Vector3
    permute​(com.badlogic.gdx.math.Vector3 x)
     
    static float
    psnoise​(com.badlogic.gdx.math.Vector2 pos, com.badlogic.gdx.math.Vector2 per)
     
    static float
    psrnoise​(com.badlogic.gdx.math.Vector2 pos, com.badlogic.gdx.math.Vector2 per, float rot)
     
    static com.badlogic.gdx.math.Vector2
    rgrad2​(com.badlogic.gdx.math.Vector2 p, float rot)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoiseUtils

      public NoiseUtils()
  • Method Details

    • mod289

      public static com.badlogic.gdx.math.Vector3 mod289(com.badlogic.gdx.math.Vector3 x)
    • mod289

      public static float mod289(float x)
    • permute

      public static com.badlogic.gdx.math.Vector3 permute(com.badlogic.gdx.math.Vector3 x)
    • permute

      public static float permute(float x)
    • rgrad2

      public static com.badlogic.gdx.math.Vector2 rgrad2(com.badlogic.gdx.math.Vector2 p, float rot)
    • psrnoise

      public static float psrnoise(com.badlogic.gdx.math.Vector2 pos, com.badlogic.gdx.math.Vector2 per, float rot)
    • psnoise

      public static float psnoise(com.badlogic.gdx.math.Vector2 pos, com.badlogic.gdx.math.Vector2 per)