diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 18:49:44 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 18:49:44 +0200 |
commit | 25e986220662247cfeefe4a496da959f409859e9 (patch) | |
tree | 18e08fbbd2ae4585d91db0f03ec6e7743824284d /src | |
parent | Suggestions (diff) | |
download | cuberite-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.h | 2 |
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) |