1
0

cBoundingBox: Fix tolua warning (#4361)

tolua was warning about no support for `operator =`.
Ref: #4360
This commit is contained in:
peterbell10
2019-08-08 19:49:00 +01:00
committed by GitHub
parent 466d986e5e
commit a2547bf1fe
2 changed files with 3 additions and 23 deletions

View File

@@ -59,27 +59,6 @@ cBoundingBox::cBoundingBox(Vector3d a_Pos, double a_CubeLength) :
cBoundingBox::cBoundingBox(const cBoundingBox & a_Orig) :
m_Min(a_Orig.m_Min),
m_Max(a_Orig.m_Max)
{
}
cBoundingBox & cBoundingBox::operator=(const cBoundingBox & a_Other)
{
m_Min = a_Other.m_Min;
m_Max = a_Other.m_Max;
return *this;
}
void cBoundingBox::Move(double a_OffX, double a_OffY, double a_OffZ)
{
m_Min.x += a_OffX;