Suggestions

This commit is contained in:
Tiger Wang
2014-07-04 17:42:40 +01:00
parent f4e3c01a71
commit 79e558be34
7 changed files with 20 additions and 11 deletions
+5 -5
View File
@@ -135,12 +135,12 @@ public:
}
/** Runs each value of the vector through std::floor() */
inline Vector3<T> Floor(void) const
inline Vector3<int> Floor(void) const
{
return Vector3<T>(
(T)floor(x),
(T)floor(y),
(T)floor(z)
return Vector3i(
(int)floor(x),
(int)floor(y),
(int)floor(z)
);
}