added basic mappers
This commit is contained in:
+9
-9
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user