C# Class fCraft.PerlinNoise3D

Implementation of 3D Perlin Noise after Ken Perlin's reference implementation.
Afficher le fichier Open project: GlennMR/800craft

Méthodes publiques

Méthode Description
Compute ( float x, float y, float z ) : float
InitNoiseFunctions ( [ rand ) : void
PerlinNoise3D ( [ rand ) : System

Private Methods

Méthode Description
Fade ( float t ) : float
Grad ( int hashCode, float x, float y, float z ) : float
Lerp ( float alpha, float a, float b ) : float
Noise ( float x, float y, float z ) : float

Method Details

Compute() public méthode

public Compute ( float x, float y, float z ) : float
x float
y float
z float
Résultat float

InitNoiseFunctions() public méthode

public InitNoiseFunctions ( [ rand ) : void
rand [
Résultat void

PerlinNoise3D() public méthode

public PerlinNoise3D ( [ rand ) : System
rand [
Résultat System