1
0
Fork 0

Added Vector3::Move(const Vector3 &).

This commit is contained in:
madmaxoft 2014-03-25 21:33:23 +01:00
parent f67ad36965
commit 0984cf9deb
1 changed files with 7 additions and 0 deletions

View File

@ -121,6 +121,13 @@ public:
z += a_Z;
}
inline void Move(const Vector3<T> & a_Diff)
{
x += a_Diff.x;
y += a_Diff.y;
z += a_Diff.z;
}
// tolua_end
inline void operator += (const Vector3<T> & a_Rhs)