osb/source/game/terrain/StarPerlinSelector.hpp
2024-02-25 15:46:47 +01:00

22 lines
364 B
C++

#pragma once
#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;
};
}