Sha256: 04d42cfe8669021e20a0eeec1df853e101d8d7a475f25c9c642972e390e4daea

Contents?: true

Size: 1.58 KB

Versions: 21

Compression:

Stored size: 1.58 KB

Contents

/// @ref gtc_noise
/// @file glm/gtc/noise.hpp
///
/// @see core (dependence)
///
/// @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": 
/// 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/_noise.hpp"
#include "../geometric.hpp"
#include "../common.hpp"
#include "../vector_relational.hpp"
#include "../vec2.hpp"
#include "../vec3.hpp"
#include "../vec4.hpp"

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_GTC_noise extension included")
#endif

namespace glm
{
	/// @addtogroup gtc_noise
	/// @{

	/// Classic perlin noise.
	/// @see gtc_noise
	template <typename T, precision P, template<typename, precision> class vecType>
	GLM_FUNC_DECL T perlin(
		vecType<T, P> const & p);
		
	/// Periodic perlin noise.
	/// @see gtc_noise
	template <typename T, precision P, template<typename, precision> class vecType>
	GLM_FUNC_DECL T perlin(
		vecType<T, P> const & p,
		vecType<T, P> const & rep);

	/// Simplex noise.
	/// @see gtc_noise
	template <typename T, precision P, template<typename, precision> class vecType>
	GLM_FUNC_DECL T simplex(
		vecType<T, P> const & p);

	/// @}
}//namespace glm

#include "noise.inl"

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.4.4 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.4.3 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.4.2 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.4.1 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.4.0 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.3.2 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.3.1 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.3.0 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.6 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.5 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.4 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.3 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.2 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.1 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.2.0 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.1.4 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.1.3 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.1.2 ext/pixo/ext/glm/glm/gtc/noise.hpp
pixo-0.1.1 ext/pixo/ext/glm/glm/gtc/noise.hpp