C# 클래스 fCraft.PerlinNoise3D

Implementation of 3D Perlin Noise after Ken Perlin's reference implementation.
파일 보기 프로젝트 열기: GlennMR/800craft

공개 메소드들

메소드 설명
Compute ( float x, float y, float z ) : float
InitNoiseFunctions ( [ rand ) : void
PerlinNoise3D ( [ rand ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

Compute() 공개 메소드

public Compute ( float x, float y, float z ) : float
x float
y float
z float
리턴 float

InitNoiseFunctions() 공개 메소드

public InitNoiseFunctions ( [ rand ) : void
rand [
리턴 void

PerlinNoise3D() 공개 메소드

public PerlinNoise3D ( [ rand ) : System
rand [
리턴 System