🎉 begin project

This commit is contained in:
Maurice Grönwoldt 2025-05-29 13:21:19 +02:00
commit 8da6ddc689
29 changed files with 1261 additions and 0 deletions

View file

@ -0,0 +1,45 @@
module;
#include <cstdint>
export module VUI:Geometry;
namespace VUI {
export struct Point {
float x{0};
float y{0};
};
export struct UPoint {
uint32_t x{0};
uint32_t y{0};
};
export struct URect {
uint32_t x{0};
uint32_t y{0};
uint32_t width{0};
uint32_t height{0};
};
export struct Rect {
float x{0};
float y{0};
float width{0};
float height{0};
};
// replace with glm
export struct Vec3 {
float x{0};
float y{0};
float z{0};
};
export struct Vec4 {
float x{0};
float y{0};
float z{0};
float w{0};
};
} // namespace VUI