MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / loadText

Method loadText

App/save_system/AppStateIO.cpp:393–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void AppStateIO::loadText(Lattice::Simulation& simulation, BaseRenderer& renderer, std::string_view path) {
394 SimulationStateIO::load(simulation, path);
395 loadRendererState(renderer, path);
396 renderer.camera.resetView();
397}
398
399void AppStateIO::loadBinary(Lattice::Simulation& simulation, BaseRenderer& renderer, std::string_view path) {
400 std::ifstream file(path.data(), std::ios::binary | std::ios::ate);

Callers

nothing calls this directly

Calls 2

loadRendererStateFunction · 0.85
resetViewMethod · 0.45

Tested by

no test coverage detected