mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
a bunch of stuff
This commit is contained in:
@@ -299,17 +299,6 @@ private:
|
||||
typedef TRect<int> Rect;
|
||||
typedef TRect<float> RectF;
|
||||
|
||||
template <class T>
|
||||
inline void operator>>(const YAML::Node& node, TRect<T>& rect)
|
||||
{
|
||||
T x, y, width, height;
|
||||
node[0] >> x;
|
||||
node[1] >> y;
|
||||
node[2] >> width;
|
||||
node[3] >> height;
|
||||
rect.setRect(x, y, width, height);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline std::ostream& operator<<(std::ostream& out, const TRect<T>& rect)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user