LLPerlinNoise Class Reference

#include <llperlin.h>

List of all members.

Static Public Member Functions

static F32 noise1 (F32 x)
static F32 noise2 (F32 x, F32 y)
static F32 noise3 (F32 x, F32 y, F32 z)
static F32 turbulence2 (F32 x, F32 y, F32 freq)
static F32 turbulence3 (F32 x, F32 y, F32 z, F32 freq)
static F32 clouds3 (F32 x, F32 y, F32 z, F32 freq)

Static Private Member Functions

static void init (void)

Static Private Attributes

static bool sInitialized = 0


Detailed Description

Definition at line 37 of file llperlin.h.


Member Function Documentation

F32 LLPerlinNoise::clouds3 ( F32  x,
F32  y,
F32  z,
F32  freq 
) [static]

Definition at line 284 of file llperlin.cpp.

References f, noise3(), and t.

void LLPerlinNoise::init ( void   )  [static, private]

Definition at line 78 of file llperlin.cpp.

References B, g1, g2, g3, i, j, normalize2(), normalize3(), p, and sInitialized.

Referenced by noise1(), noise2(), and noise3().

F32 LLPerlinNoise::noise1 ( F32  x  )  [static]

Definition at line 125 of file llperlin.cpp.

References BM, g1, init(), lerp_m, lltrunc(), N, p, s_curve, sInitialized, t, u, and v.

F32 LLPerlinNoise::noise2 ( F32  x,
F32  y 
) [static]

Definition at line 152 of file llperlin.cpp.

References a, b, fast_at2(), fast_setup(), g2, i, init(), j, lerp_m, p, S32, s_curve, sInitialized, u, and v.

Referenced by turbulence2().

F32 LLPerlinNoise::noise3 ( F32  x,
F32  y,
F32  z 
) [static]

Definition at line 197 of file llperlin.cpp.

References a, b, c, d, fast_at3(), fast_setup(), g3, i, init(), j, lerp_m, p, S32, s_curve, sInitialized, t, u, and v.

Referenced by clouds3(), and turbulence3().

F32 LLPerlinNoise::turbulence2 ( F32  x,
F32  y,
F32  freq 
) [static]

Definition at line 254 of file llperlin.cpp.

References f, noise2(), and t.

F32 LLPerlinNoise::turbulence3 ( F32  x,
F32  y,
F32  z,
F32  freq 
) [static]

Definition at line 267 of file llperlin.cpp.

References f, noise3(), and t.


Member Data Documentation

bool LLPerlinNoise::sInitialized = 0 [static, private]

Definition at line 47 of file llperlin.h.

Referenced by init(), noise1(), noise2(), and noise3().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:38 2010 for Second Life Viewer by  doxygen 1.4.7