diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 18:42:40 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-04 18:42:40 +0200 |
commit | 79e558be349c40ed40b5eefefd29f563a570e404 (patch) | |
tree | 40c3af9ef6b20763695b8f165615d62df6fbfcfb /src/Vector3.h | |
parent | Various fixed (diff) | |
download | cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar.gz cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar.bz2 cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar.lz cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar.xz cuberite-79e558be349c40ed40b5eefefd29f563a570e404.tar.zst cuberite-79e558be349c40ed40b5eefefd29f563a570e404.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Vector3.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index faf7fe43c..f350ede2a 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -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) ); } |