diff --git a/glm/core/func_common.inl b/glm/core/func_common.inl index e3f9bd2d..04561844 100644 --- a/glm/core/func_common.inl +++ b/glm/core/func_common.inl @@ -239,7 +239,7 @@ namespace detail if(x < 0) return genType(int(x - genType(0.5))); - return genType(int(x + genType(0.5))); + return genType(int(x + genType(0.5))); } template