diff --git a/glm/core/func_common.hpp b/glm/core/func_common.hpp index 8d1a6dfd..1457930d 100644 --- a/glm/core/func_common.hpp +++ b/glm/core/func_common.hpp @@ -262,7 +262,7 @@ namespace glm genTypeT const & y, genTypeU const & a); - /// Returns 0.0 if x < edge, otherwise it returns 1.0. + /// Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType. /// /// @see GLSL step man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions @@ -271,10 +271,14 @@ namespace glm genType const & edge, genType const & x); - template - GLM_FUNC_DECL genType step( - typename genType::T const & edge, - genType const & x); + /// Returns 0.0 if x < edge, otherwise it returns 1.0. + /// + /// @see GLSL step man page + /// @see GLSL 4.20.8 specification, section 8.3 Common Functions + template