added input system

This commit is contained in:
2026-01-17 18:01:48 +01:00
parent 6d90c91209
commit cf5602417b
21 changed files with 120171 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "json.hpp"
#include "Color.hpp"
#include "Vector2.hpp"
#include "Vector3.hpp"
#include "Vector4.hpp"
namespace TSE
{
nlohmann::json ExportColor(Color& color);
nlohmann::json ExportVector2(Vector2& vec2);
nlohmann::json ExportVector3(Vector3& vec3);
nlohmann::json ExportVector4(Vector4& vec4);
Color ImportColor(nlohmann::json json);
Vector2 ImportVector2(nlohmann::json json);
Vector3 ImportVector3(nlohmann::json json);
Vector4 ImportVector4(nlohmann::json json);
} // namespace TSE