Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
CavesNoiseIntersection Class Reference

#include <cavegen.h>

+ Collaboration diagram for CavesNoiseIntersection:

Public Member Functions

 CavesNoiseIntersection (const NodeDefManager *nodedef, BiomeManager *biomemgr, BiomeGen *biomegen, v3s16 chunksize, NoiseParams *np_cave1, NoiseParams *np_cave2, s32 seed, float cave_width)
 
 ~CavesNoiseIntersection ()
 
void generateCaves (MMVManip *vm, v3s16 nmin, v3s16 nmax, biome_t *biomemap)
 

Private Attributes

const NodeDefManagerm_ndef
 
BiomeManagerm_bmgr
 
BiomeGenm_bmgn
 
v3s16 m_csize
 
float m_cave_width
 
u16 m_ystride
 
u16 m_zstride_1d
 
Noisenoise_cave1
 
Noisenoise_cave2
 

Constructor & Destructor Documentation

◆ CavesNoiseIntersection()

CavesNoiseIntersection::CavesNoiseIntersection ( const NodeDefManager * nodedef,
BiomeManager * biomemgr,
BiomeGen * biomegen,
v3s16 chunksize,
NoiseParams * np_cave1,
NoiseParams * np_cave2,
s32 seed,
float cave_width )

◆ ~CavesNoiseIntersection()

CavesNoiseIntersection::~CavesNoiseIntersection ( )

References noise_cave1, and noise_cave2.

Member Function Documentation

◆ generateCaves()

void CavesNoiseIntersection::generateCaves ( MMVManip * vm,
v3s16 nmin,
v3s16 nmax,
biome_t * biomemap )

Member Data Documentation

◆ m_bmgn

BiomeGen* CavesNoiseIntersection::m_bmgn
private

◆ m_bmgr

BiomeManager* CavesNoiseIntersection::m_bmgr
private

◆ m_cave_width

float CavesNoiseIntersection::m_cave_width
private

◆ m_csize

v3s16 CavesNoiseIntersection::m_csize
private

◆ m_ndef

const NodeDefManager* CavesNoiseIntersection::m_ndef
private

◆ m_ystride

u16 CavesNoiseIntersection::m_ystride
private

◆ m_zstride_1d

u16 CavesNoiseIntersection::m_zstride_1d
private

◆ noise_cave1

Noise* CavesNoiseIntersection::noise_cave1
private

◆ noise_cave2

Noise* CavesNoiseIntersection::noise_cave2
private

The documentation for this class was generated from the following files: