mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Rework minimap rendering
This commit is contained in:
@@ -95,7 +95,7 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
void scale(int w, int h, Fw::AspectRatioMode mode) { scale(TSize<T>(w, h)); }
|
||||
void scale(int w, int h, Fw::AspectRatioMode mode) { scale(TSize<T>(w, h), mode); }
|
||||
|
||||
float ratio() const { return (float)wd/ht; }
|
||||
T area() const { return wd*ht; }
|
||||
|
Reference in New Issue
Block a user