v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
32
source/game/terrain/StarRidgeBlocksSelector.hpp
Normal file
32
source/game/terrain/StarRidgeBlocksSelector.hpp
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef STAR_RIDGE_BLOCKS_SELECTOR_HPP
|
||||
#define STAR_RIDGE_BLOCKS_SELECTOR_HPP
|
||||
|
||||
#include "StarTerrainDatabase.hpp"
|
||||
#include "StarPerlin.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
struct RidgeBlocksSelector : TerrainSelector {
|
||||
static char const* const Name;
|
||||
|
||||
RidgeBlocksSelector(Json const& config, TerrainSelectorParameters const& parameters);
|
||||
|
||||
float get(int x, int y) const override;
|
||||
|
||||
float commonality;
|
||||
|
||||
float amplitude;
|
||||
float frequency;
|
||||
float bias;
|
||||
|
||||
float noiseAmplitude;
|
||||
float noiseFrequency;
|
||||
|
||||
PerlinF ridgePerlin1;
|
||||
PerlinF ridgePerlin2;
|
||||
PerlinF noisePerlin;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue