BOX2: allow constructing a zero-sized BOX2 from a single point

This commit is contained in:
Tomasz Wlostowski 2020-09-05 01:08:52 +02:00
parent 74623b8c98
commit 83ac2070fe
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public:
BOX2() {};
BOX2( const Vec& aPos, const Vec& aSize ) :
BOX2( const Vec& aPos, const Vec& aSize = Vec(0, 0) ) :
m_Pos( aPos ),
m_Size( aSize )
{