A WIP 3D game engine in C++ using OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
298 B

#pragma once
#include <nlohmann/json.hpp>
using json = nlohmann::json;
#include <optional>
#include <glm/common.hpp>
#include <glm/glm.hpp>
#include <fmt/core.h>
#include <optional>
std::optional<glm::vec3> vec3_fromjson(json j) noexcept;
std::optional<glm::vec2> vec2_fromjson(json j) noexcept;