Fixed noise function declarations

This commit is contained in:
Christophe Riccio 2011-04-26 14:59:33 +01:00
parent 46563c4e01
commit 00169d0cde
2 changed files with 3 additions and 4 deletions

View File

@ -41,20 +41,20 @@ namespace glm
//! Classic perlin noise. //! Classic perlin noise.
//! From GLM_GTX_noise extension. //! From GLM_GTX_noise extension.
template <typename T, template<typename> class vecType> template <typename T, template<typename> class vecType>
typename T cnoise( T cnoise(
vecType<T> const & p); vecType<T> const & p);
//! Periodic perlin noise. //! Periodic perlin noise.
//! From GLM_GTX_noise extension. //! From GLM_GTX_noise extension.
template <typename T, template<typename> class vecType> template <typename T, template<typename> class vecType>
typename T pnoise( T pnoise(
vecType<T> const & p, vecType<T> const & p,
vecType<T> const & rep); vecType<T> const & rep);
//! Simplex noise. //! Simplex noise.
//! From GLM_GTX_noise extension. //! From GLM_GTX_noise extension.
template <typename T, template<typename> class vecType> template <typename T, template<typename> class vecType>
typename T snoise( T snoise(
vecType<T> const & p); vecType<T> const & p);
///@} ///@}

View File

@ -176,7 +176,6 @@ namespace noise
dot(p3, x3))); dot(p3, x3)));
} }
}//namespace noise }//namespace noise
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm