| 274 | } |
| 275 | |
| 276 | std::vector<std::vector<float>> cRandomMap::createSimplexNoise(size_t pOctaves, float pFrequency, float pLacunarity, float pPersistence) { |
| 277 | SimplexNoise Noise(pFrequency, pLacunarity, pPersistence); |
| 278 | |
| 279 | return Noise.create(mParams.mWidth, mParams.mHeight, pOctaves); |
| 280 | } |
| 281 | |
| 282 | void cRandomMap::create(size_t pWidth, size_t pHeight, eTileTypes pTileType, eTileSub pTileSub) { |
| 283 |