func_noise.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2008-08-01
00005 // Updated : 2008-09-10
00006 // Licence : This source is under MIT License
00007 // File    : glm/core/func_noise.hpp
00009 
00010 #ifndef glm_core_func_noise
00011 #define glm_core_func_noise
00012 
00013 namespace glm
00014 {
00015         namespace core{
00016         namespace function{
00017         // Define all noise functions from Section 8.9 of GLSL 1.30.8 specification. Included in glm namespace.
00018         namespace noise{
00019 
00022 
00027         template <typename genType>
00028         typename genType::value_type noise1(genType const & x);
00029 
00034         template <typename genType>
00035         detail::tvec2<typename genType::value_type> noise2(genType const & x);
00036 
00041         template <typename genType>
00042         detail::tvec3<typename genType::value_type> noise3(genType const & x);
00043 
00048         template <typename genType>
00049         detail::tvec4<typename genType::value_type> noise4(genType const & x);
00050 
00052 
00053         }//namespace noise
00054         }//namespace function
00055         }//namespace core
00056 
00057         using namespace core::function::noise;
00058 }//namespace glm
00059 
00060 #include "func_noise.inl"
00061 
00062 #endif//glm_core_func_noise