added basic mappers

This commit is contained in:
2026-07-24 18:01:59 -07:00
parent c7cdfd402e
commit a89ef52247
10 changed files with 127 additions and 20 deletions
+9 -9
View File
@@ -26,15 +26,15 @@ namespace UwU {
};
// Coord2 datatype for xy coordinates, from top-left of surface
// struct Coord2 {
// Coord2(uint16_t x, uint16_t y) {
// this->x = x;
// this->y = y;
// }
// Coord2() {}
// uint16_t x;
// uint16_t y;
// };
struct Coord2 {
Coord2(uint16_t x, uint16_t y) {
this->x = x;
this->y = y;
}
Coord2() {}
uint16_t x;
uint16_t y;
};
// Vec2 datatype for signed x, y coordinates
// struct Vec2 {