summaryrefslogtreecommitdiffstats
path: root/src/Vector3.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Vector3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Vector3.h b/src/Vector3.h
index 782b0d1c9..937c8fdfa 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -137,9 +137,9 @@ public:
inline Vector3<int> Floor(void) const
{
return Vector3<int>(
- static_cast<int>(floor(x)),
- static_cast<int>(floor(y)),
- static_cast<int>(floor(z))
+ FloorC(x),
+ FloorC(y),
+ FloorC(z)
);
}