noise.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 #ifndef GLM_GTX_noise
00043 #define GLM_GTX_noise 50
00044 
00045 // Dependency:
00046 #include "../glm.hpp"
00047 
00048 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00049 #       pragma message("GLM: GLM_GTX_noise extension included")
00050 #endif
00051 
00052 namespace glm
00053 {
00056 
00059         template <typename T, template<typename> class vecType> 
00060     T perlin(
00061                 vecType<T> const & p);
00062                 
00065         template <typename T, template<typename> class vecType> 
00066     T perlin(
00067                 vecType<T> const & p, 
00068                 vecType<T> const & rep);
00069 
00072         template <typename T, template<typename> class vecType> 
00073     T simplex(
00074                 vecType<T> const & p);
00075 
00077 }//namespace glm
00078 
00079 #include "noise.inl"
00080 
00081 #endif//glm_gtx_noise