Sha256: 49aba9279b3f97e1aed68b9996eb0dd571c2374ca19d99a162be4e4c9316e3b0

Contents?: true

Size: 1.08 KB

Versions: 21

Compression:

Stored size: 1.08 KB

Contents

/// @ref gtc_functions
/// @file glm/gtc/functions.hpp
/// 
/// @see core (dependence)
/// @see gtc_half_float (dependence)
/// @see gtc_quaternion (dependence)
///
/// @defgroup gtc_functions GLM_GTC_functions
/// @ingroup gtc
/// 
/// @brief List of useful common functions.
/// 
/// <glm/gtc/functions.hpp> need to be included to use these functionalities.

#pragma once

// Dependencies
#include "../detail/setup.hpp"
#include "../detail/precision.hpp"
#include "../detail/type_vec2.hpp"

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

namespace glm
{
	/// @addtogroup gtc_functions
	/// @{

	/// 1D gauss function
	///
	/// @see gtc_epsilon
	template <typename T>
	GLM_FUNC_DECL T gauss(
		T x,
		T ExpectedValue,
		T StandardDeviation);

	/// 2D gauss function
	///
	/// @see gtc_epsilon
	template <typename T, precision P>
	GLM_FUNC_DECL T gauss(
		tvec2<T, P> const& Coord,
		tvec2<T, P> const& ExpectedValue,
		tvec2<T, P> const& StandardDeviation);

	/// @}
}//namespace glm

#include "functions.inl"

Version data entries

21 entries across 21 versions & 1 rubygems

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