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::noise1 ( F32  x  )  [static]

Definition at line 125 of file llperlin.cpp.

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

Here is the call graph for this function:

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

Definition at line 152 of file llperlin.cpp.

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

Referenced by turbulence2().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 197 of file llperlin.cpp.

References d, fast_at3(), fast_setup(), g3, i, init(), j, lerp_m, p, S32, s_curve, and sInitialized.

Referenced by clouds3(), and turbulence3().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 254 of file llperlin.cpp.

References noise2().

Here is the call graph for this function:

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

Definition at line 267 of file llperlin.cpp.

References noise3().

Here is the call graph for this function:

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

Definition at line 284 of file llperlin.cpp.

References noise3().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


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 Fri May 16 08:59:08 2008 for SecondLife by  doxygen 1.5.5