summaryrefslogtreecommitdiffstats
path: root/src/Vector3.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-04 18:49:44 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-04 18:49:44 +0200
commit25e986220662247cfeefe4a496da959f409859e9 (patch)
tree18e08fbbd2ae4585d91db0f03ec6e7743824284d /src/Vector3.h
parentSuggestions (diff)
downloadcuberite-25e986220662247cfeefe4a496da959f409859e9.tar
cuberite-25e986220662247cfeefe4a496da959f409859e9.tar.gz
cuberite-25e986220662247cfeefe4a496da959f409859e9.tar.bz2
cuberite-25e986220662247cfeefe4a496da959f409859e9.tar.lz
cuberite-25e986220662247cfeefe4a496da959f409859e9.tar.xz
cuberite-25e986220662247cfeefe4a496da959f409859e9.tar.zst
cuberite-25e986220662247cfeefe4a496da959f409859e9.zip
Diffstat (limited to '')
-rw-r--r--src/Vector3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Vector3.h b/src/Vector3.h
index f350ede2a..9e855b8af 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -137,7 +137,7 @@ public:
/** Runs each value of the vector through std::floor() */
inline Vector3<int> Floor(void) const
{
- return Vector3i(
+ return Vector3<int>(
(int)floor(x),
(int)floor(y),
(int)floor(z)