initial commit

This commit is contained in:
Andrey Zimin
2024-05-15 09:09:36 +03:00
commit a0b5e810f7
130 changed files with 4925 additions and 0 deletions

17
src/utils/math.hpp Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include "glm/gtc/type_ptr.hpp"
namespace mt
{
using vec2 = glm::vec2;
using vec3 = glm::vec3;
using vec4 = glm::vec4;
using mat2 = glm::mat2;
using mat3 = glm::mat3;
using mat4 = glm::mat4;
template<typename T>
T convert(glm::vec2& v) { return T{ v.x, v.y }; }
}