MCPcopy Create free account
hub / github.com/DFHack/dfhack / DistributionClusterSmall

Method DistributionClusterSmall

plugins/3dveins.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 PerlinNoise3D<float> density1, density2, shape;
153
154 DistributionClusterSmall(MersenneRNG &rng) : Distribution(rng, 96) {
155 density1.init(rng);
156 density2.init(rng);
157 shape.init(rng);
158 }
159
160 float eval(float x, float y, float z) {
161 const float scale = 1.0f/4.3f;

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected