summaryrefslogtreecommitdiffstats
path: root/src/Vector3.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Vector3.h10
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)
);
}