diff --git a/glm/detail/func_geometric.hpp b/glm/detail/func_geometric.hpp index 5bbb079e..784ada77 100644 --- a/glm/detail/func_geometric.hpp +++ b/glm/detail/func_geometric.hpp @@ -130,7 +130,7 @@ namespace glm GLM_FUNC_DECL vecType refract( vecType const & I, vecType const & N, - T const & eta); + T eta); /// @} }//namespace glm diff --git a/glm/detail/func_geometric.inl b/glm/detail/func_geometric.inl index fd513990..462c2d26 100644 --- a/glm/detail/func_geometric.inl +++ b/glm/detail/func_geometric.inl @@ -183,7 +183,7 @@ namespace detail } template class vecType> - GLM_FUNC_QUALIFIER vecType refract(vecType const & I, vecType const & N, T const & eta) + GLM_FUNC_QUALIFIER vecType refract(vecType const & I, vecType const & N, T eta) { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'refract' only accept floating-point inputs"); diff --git a/glm/detail/func_packing.hpp b/glm/detail/func_packing.hpp index 98c639e7..aa08f5ac 100644 --- a/glm/detail/func_packing.hpp +++ b/glm/detail/func_packing.hpp @@ -26,6 +26,7 @@ /// @author Christophe Riccio /// /// @see GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions +/// @see gtc_packing /// /// @defgroup core_func_packing Floating-Point Pack and Unpack Functions /// @ingroup core diff --git a/glm/gtc/type_ptr.hpp b/glm/gtc/type_ptr.hpp index 4f1463df..c96e01ff 100644 --- a/glm/gtc/type_ptr.hpp +++ b/glm/gtc/type_ptr.hpp @@ -136,8 +136,7 @@ namespace glm /// Build a matrix from a pointer. /// @see gtc_type_ptr template - GLM_FUNC_DECL tmat4x2 make_mat4x2( - T const * const ptr); + GLM_FUNC_DECL tmat4x2 make_mat4x2(T const * const ptr); /// Build a matrix from a pointer. /// @see gtc_type_ptr