added origin to mapper parameters
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user