#include <cavegen.h>
◆ CavernsNoise()
CavernsNoise::CavernsNoise |
( |
const NodeDefManager * | nodedef, |
|
|
v3s16 | chunksize, |
|
|
NoiseParams * | np_cavern, |
|
|
s32 | seed, |
|
|
float | cavern_limit, |
|
|
float | cavern_taper, |
|
|
float | cavern_threshold ) |
References c_lava_source, c_water_source, CONTENT_AIR, CONTENT_IGNORE, NodeDefManager::getId(), m_cavern_limit, m_cavern_taper, m_cavern_threshold, m_csize, m_ndef, m_ystride, m_zstride_1d, and noise_cavern.
◆ ~CavernsNoise()
CavernsNoise::~CavernsNoise |
( |
| ) |
|
◆ generateCaverns()
References VoxelArea::add_y(), CONTENT_AIR, NodeDefManager::get(), MapNode::getContent(), VoxelArea::getExtent(), VoxelArea::index(), ContentFeatures::is_ground_content, VoxelManipulator::m_area, m_cavern_limit, m_cavern_taper, m_cavern_threshold, m_csize, VoxelManipulator::m_data, m_ndef, m_ystride, m_zstride_1d, MYMIN, noise_cavern, Noise::perlinMap3D(), and Noise::result.
Referenced by MapgenBasic::generateCavernsNoise().
◆ c_lava_source
◆ c_water_source
◆ m_cavern_limit
float CavernsNoise::m_cavern_limit |
|
private |
◆ m_cavern_taper
float CavernsNoise::m_cavern_taper |
|
private |
◆ m_cavern_threshold
float CavernsNoise::m_cavern_threshold |
|
private |
◆ m_csize
v3s16 CavernsNoise::m_csize |
|
private |
◆ m_ndef
◆ m_ystride
u16 CavernsNoise::m_ystride |
|
private |
◆ m_zstride_1d
u16 CavernsNoise::m_zstride_1d |
|
private |
◆ noise_cavern
Noise* CavernsNoise::noise_cavern |
|
private |
The documentation for this class was generated from the following files: