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 test{
00016                 void main_core_func_noise();
00017         }//namespace test
00018 
00019         namespace core{
00020         namespace function{
00021         // Define all noise functions from Section 8.9 of GLSL 1.30.8 specification. Included in glm namespace.
00022         namespace noise{
00023 
00026 
00031         template <typename genType>
00032         typename genType::value_type noise1(genType const & x);
00033 
00038         template <typename genType>
00039         detail::tvec2<typename genType::value_type> noise2(genType const & x);
00040 
00045         template <typename genType>
00046         detail::tvec3<typename genType::value_type> noise3(genType const & x);
00047 
00052         template <typename genType>
00053         detail::tvec4<typename genType::value_type> noise4(genType const & x);
00054 
00056 
00057         }//namespace noise
00058         }//namespace function
00059         }//namespace core
00060 
00061         using namespace core::function::noise;
00062 }//namespace glm
00063 
00064 #include "func_noise.inl"
00065 
00066 #endif//glm_core_func_noise