MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / settingsToWorld

Method settingsToWorld

src/mapview.cpp:209–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void MapView::settingsToWorld()
210{
211 if (!world)
212 return;
213 for (int s = 0; s < D_STRUCT_NUM; s++)
214 world->sshow[s] = sshow[s] && world->mconfig.enabled(s);
215 world->showBB = config.showBBoxes;
216 world->gridspacing = config.gridSpacing;
217 world->gridmultiplier = config.gridMultiplier;
218 world->memlimit = (uint64_t) config.mapCacheSize * 1024 * 1024;
219 world->threadlimit = config.mapThreads;
220 world->lopt = lopt;
221 world->shapes = shapes;
222}
223
224static qreal smoothstep(qreal x)
225{

Callers

nothing calls this directly

Calls 1

enabledMethod · 0.80

Tested by

no test coverage detected