Added Vector3::Move(const Vector3 &).
This commit is contained in:
parent
f67ad36965
commit
0984cf9deb
@ -121,6 +121,13 @@ public:
|
|||||||
z += a_Z;
|
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
|
// tolua_end
|
||||||
|
|
||||||
inline void operator += (const Vector3<T> & a_Rhs)
|
inline void operator += (const Vector3<T> & a_Rhs)
|
||||||
|
Loading…
Reference in New Issue
Block a user