v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
24
source/game/terrain/StarPerlinSelector.hpp
Normal file
24
source/game/terrain/StarPerlinSelector.hpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef STAR_PERLIN_SELECTOR_HPP
|
||||
#define STAR_PERLIN_SELECTOR_HPP
|
||||
|
||||
#include "StarTerrainDatabase.hpp"
|
||||
#include "StarPerlin.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
struct PerlinSelector : TerrainSelector {
|
||||
static char const* const Name;
|
||||
|
||||
PerlinSelector(Json const& config, TerrainSelectorParameters const& parameters);
|
||||
|
||||
float get(int x, int y) const override;
|
||||
|
||||
PerlinF function;
|
||||
|
||||
float xInfluence;
|
||||
float yInfluence;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue