summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtc/noise.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
commit2877f4eda3d1b0c7431039e3142ecf1a282a34b1 (patch)
tree58ad35e27ab2a3b8955f5adbf28f296670681ffc /external/include/glm/gtc/noise.hpp
parentSmooth sun movement (diff)
downloadAltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.gz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.bz2
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.lz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.xz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.zst
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.zip
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