BOX2: allow constructing a zero-sized BOX2 from a single point
This commit is contained in:
parent
74623b8c98
commit
83ac2070fe
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue