Fixed a ToLua warning - operator = not supported.
This commit is contained in:
parent
a24e960a89
commit
6ce61d1a6f
@ -20,8 +20,12 @@ public:
|
||||
cCuboid(int a_X1, int a_Y1, int a_Z1) : p1(a_X1, a_Y1, a_Z1), p2(a_X1, a_Y1, a_Z1) {}
|
||||
cCuboid(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2) : p1(a_X1, a_Y1, a_Z1), p2(a_X2, a_Y2, a_Z2) {}
|
||||
|
||||
// tolua_end
|
||||
|
||||
cCuboid & operator =(cCuboid a_Other);
|
||||
|
||||
// tolua_begin
|
||||
|
||||
void Assign(int a_X1, int a_Y1, int a_Z1, int a_X2, int a_Y2, int a_Z2);
|
||||
void Assign(const cCuboid & a_SrcCuboid);
|
||||
|
||||
|
@ -35,6 +35,8 @@ public:
|
||||
*this = a_Rhs;
|
||||
}
|
||||
|
||||
// tolua_end
|
||||
|
||||
inline Matrix4 & operator = (const Matrix4 & a_Rhs)
|
||||
{
|
||||
for (unsigned int i = 0; i < 16; ++i)
|
||||
@ -44,6 +46,8 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
// tolua_begin
|
||||
|
||||
inline T & operator [] (int a_N)
|
||||
{
|
||||
ASSERT(a_N < 16);
|
||||
|
Loading…
Reference in New Issue
Block a user