added origin to mapper parameters

This commit is contained in:
2026-07-24 19:06:14 -07:00
parent eddbb85256
commit 5298e75fdb
10 changed files with 23 additions and 25 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ namespace UwU {
template <class MapperT>
class MapperBase {
public:
Coord2 map(uint16_t x, uint16_t y) {
return static_cast<MapperT*>(this)->map(x, y);
Coord2 map(uint16_t x0, uint16_t y0, uint16_t x, uint16_t y) {
return static_cast<MapperT*>(this)->map(x0, y0, x, y);
}
};
}