diff --git a/glm/gtx/noise.hpp b/glm/gtx/noise.hpp index 627f1c16..39b51090 100644 --- a/glm/gtx/noise.hpp +++ b/glm/gtx/noise.hpp @@ -41,20 +41,20 @@ namespace glm //! Classic perlin noise. //! From GLM_GTX_noise extension. template class vecType> - typename T cnoise( + T cnoise( vecType const & p); //! Periodic perlin noise. //! From GLM_GTX_noise extension. template class vecType> - typename T pnoise( + T pnoise( vecType const & p, vecType const & rep); //! Simplex noise. //! From GLM_GTX_noise extension. template class vecType> - typename T snoise( + T snoise( vecType const & p); ///@} diff --git a/glm/gtx/noise.inl b/glm/gtx/noise.inl index 6e926133..8533704e 100644 --- a/glm/gtx/noise.inl +++ b/glm/gtx/noise.inl @@ -176,7 +176,6 @@ namespace noise dot(p3, x3))); } - }//namespace noise }//namespace gtx }//namespace glm