Starting day 19, blending.

This commit is contained in:
Zed A. Shaw 2026-08-29 13:13:41 -04:00
parent dc973009fd
commit 128f522089
94 changed files with 15008 additions and 0 deletions

11
19-blending/src/utils.cpp Normal file
View file

@ -0,0 +1,11 @@
#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>();
}
}