| 391 | } |
| 392 | |
| 393 | void 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 | |
| 399 | void AppStateIO::loadBinary(Lattice::Simulation& simulation, BaseRenderer& renderer, std::string_view path) { |
| 400 | std::ifstream file(path.data(), std::ios::binary | std::ios::ate); |
nothing calls this directly
no test coverage detected