mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Add STextBoundingBox::Size
convenience function
This commit is contained in:
parent
a160364b77
commit
49a1896389
|
@ -153,6 +153,7 @@ struct STextBoundingBox
|
|||
|
||||
float Right() const { return m_X + m_W; }
|
||||
float Bottom() const { return m_Y + m_H; }
|
||||
vec2 Size() const { return vec2(m_W, m_H); }
|
||||
};
|
||||
|
||||
class CTextCursor
|
||||
|
|
Loading…
Reference in a new issue