summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtc/noise.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtc/noise.hpp')
-rw-r--r--external/include/glm/gtc/noise.hpp29
1 files changed, 15 insertions, 14 deletions
diff --git a/external/include/glm/gtc/noise.hpp b/external/include/glm/gtc/noise.hpp
index aec4f18..7b1ca40 100644
--- a/external/include/glm/gtc/noise.hpp
+++ b/external/include/glm/gtc/noise.hpp
@@ -6,18 +6,19 @@
/// @defgroup gtc_noise GLM_GTC_noise
/// @ingroup gtc
///
-/// Defines 2D, 3D and 4D procedural noise functions
-/// Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise":
-/// https://github.com/ashima/webgl-noise
-/// Following Stefan Gustavson's paper "Simplex noise demystified":
+/// Include <glm/gtc/noise.hpp> to use the features of this extension.
+///
+/// Defines 2D, 3D and 4D procedural noise functions
+/// Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise":
+/// https://github.com/ashima/webgl-noise
+/// Following Stefan Gustavson's paper "Simplex noise demystified":
/// http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
-/// <glm/gtc/noise.hpp> need to be included to use these functionalities.
#pragma once
// Dependencies
#include "../detail/setup.hpp"
-#include "../detail/precision.hpp"
+#include "../detail/qualifier.hpp"
#include "../detail/_noise.hpp"
#include "../geometric.hpp"
#include "../common.hpp"
@@ -37,22 +38,22 @@ namespace glm
/// Classic perlin noise.
/// @see gtc_noise
- template <typename T, precision P, template<typename, precision> class vecType>
+ template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL T perlin(
- vecType<T, P> const & p);
-
+ vec<L, T, Q> const& p);
+
/// Periodic perlin noise.
/// @see gtc_noise
- template <typename T, precision P, template<typename, precision> class vecType>
+ template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL T perlin(
- vecType<T, P> const & p,
- vecType<T, P> const & rep);
+ vec<L, T, Q> const& p,
+ vec<L, T, Q> const& rep);
/// Simplex noise.
/// @see gtc_noise
- template <typename T, precision P, template<typename, precision> class vecType>
+ template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL T simplex(
- vecType<T, P> const & p);
+ vec<L, T, Q> const& p);
/// @}
}//namespace glm