changed project to use CLion to be cross platform
This commit is contained in:
parent
6fb3ffcfed
commit
dcc5871929
463 changed files with 69347 additions and 296 deletions
54
vendor/glm/gtx/functions.hpp
vendored
Normal file
54
vendor/glm/gtx/functions.hpp
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/// @ref gtx_functions
|
||||
/// @file glm/gtx/functions.hpp
|
||||
///
|
||||
/// @see core (dependence)
|
||||
/// @see gtc_quaternion (dependence)
|
||||
///
|
||||
/// @defgroup gtx_functions GLM_GTX_functions
|
||||
/// @ingroup gtx
|
||||
///
|
||||
/// Include <glm/gtx/functions.hpp> to use the features of this extension.
|
||||
///
|
||||
/// List of useful common functions.
|
||||
|
||||
#pragma once
|
||||
|
||||
// Dependencies
|
||||
#include "../detail/setup.hpp"
|
||||
#include "../detail/qualifier.hpp"
|
||||
#include "../detail/type_vec2.hpp"
|
||||
|
||||
#ifndef GLM_ENABLE_EXPERIMENTAL
|
||||
# error "GLM: GLM_GTX_functions is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
|
||||
#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
||||
# pragma message("GLM: GLM_GTX_functions extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
/// @addtogroup gtx_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, qualifier Q>
|
||||
GLM_FUNC_DECL T gauss(
|
||||
vec<2, T, Q> const& Coord,
|
||||
vec<2, T, Q> const& ExpectedValue,
|
||||
vec<2, T, Q> const& StandardDeviation);
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
||||
#include "functions.inl"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue