14 #ifndef STACKEDPERLINNOISE2_H 15 #define STACKEDPERLINNOISE2_H 29 double scale_factor = 4.0f,
double amp_scale = 0.5f,
30 int table_size = 256,
unsigned long seed = 0);
34 void add_level(
const PerlinNoise2 &level,
double amp = 1.0);
37 INLINE
double noise(
double x,
double y);
38 INLINE
float noise(
const LVecBase2f &value);
39 double noise(
const LVecBase2d &value);
41 INLINE
double operator ()(
double x,
double y);
42 INLINE
float operator ()(
const LVecBase2f &value);
43 INLINE
double operator ()(
const LVecBase2d &value);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class provides an implementation of Perlin noise for 2 variables.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Implements a multi-layer PerlinNoise, with one or more high-frequency noise functions added to a lowe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.