MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / createSimplexIslands

Method createSimplexIslands

Source/Map/Random.cpp:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249std::vector<std::vector<float>> cRandomMap::createSimplexIslands(size_t pOctaves, float pRoughness, float pScale, short pSeed, bool pRadialEnabled, float pEdgeFade) {
250
251 SimplexIslands Islands;
252
253 auto noise = Islands.CreateArray(mParams.mWidth, mParams.mHeight, pOctaves, pRoughness, pScale, pSeed, pRadialEnabled, pEdgeFade);
254
255 return noise;
256}
257
258std::vector<std::vector<double>> cRandomMap::createDiamondSquare() {
259

Callers

nothing calls this directly

Calls 1

CreateArrayMethod · 0.80

Tested by

no test coverage detected