19/20 is done so setup for day 21.
This commit is contained in:
parent
f51df89054
commit
c32e7bd00d
208 changed files with 15289 additions and 0 deletions
|
|
@ -1,11 +0,0 @@
|
|||
#include <fstream>
|
||||
#include "json.hpp"
|
||||
#include "utils.hpp"
|
||||
|
||||
namespace utils {
|
||||
components::Scene load_scene_config(const std::string& config_file) {
|
||||
std::ifstream f{"config.json"};
|
||||
auto j = json::parse(f);
|
||||
return j["scene"].template get<components::Scene>();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue