Vector3: Removed useless NormalizeCopy overload from LuaAPI.
This commit is contained in:
parent
abf35f3976
commit
28732bc339
@ -67,6 +67,10 @@ public:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// tolua_end
|
||||||
|
|
||||||
|
/** Sets the given vector to the normalized version of this vector.
|
||||||
|
Removed from LuaAPI, because Lua doesn't need distinguishing from the other overload. */
|
||||||
inline void NormalizeCopy(Vector3<T> & a_Rhs) const
|
inline void NormalizeCopy(Vector3<T> & a_Rhs) const
|
||||||
{
|
{
|
||||||
double Len = 1.0 / Length();
|
double Len = 1.0 / Length();
|
||||||
@ -78,6 +82,8 @@ public:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// tolua_begin
|
||||||
|
|
||||||
inline bool HasNonZeroLength(void) const
|
inline bool HasNonZeroLength(void) const
|
||||||
{
|
{
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
@ -168,7 +174,7 @@ public:
|
|||||||
z += a_Diff.z;
|
z += a_Diff.z;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Runs each value of the vector through std::floor() */
|
/** Returns a new Vector3i with coords set to std::floor() of this vector's coords. */
|
||||||
inline Vector3<int> Floor(void) const
|
inline Vector3<int> Floor(void) const
|
||||||
{
|
{
|
||||||
return Vector3<int>(
|
return Vector3<int>(
|
||||||
|
Loading…
Reference in New Issue
Block a user