diff --git a/glm/detail/func_geometric.inl b/glm/detail/func_geometric.inl index df6372ac..0d7a5484 100644 --- a/glm/detail/func_geometric.inl +++ b/glm/detail/func_geometric.inl @@ -183,6 +183,12 @@ namespace detail } // reflect + template + GLM_FUNC_QUALIFIER genType reflect(genType const & I, genType const & N) + { + return I - N * dot(N, I) * genType(2); + } + template class vecType> GLM_FUNC_QUALIFIER vecType reflect(vecType const & I, vecType const & N) {