# func_common.hpp Source File

func_common.hpp
Go to the documentation of this file.
#ifndef GLM_CORE_func_common
#define GLM_CORE_func_common GLM_VERSION
#include "_fixes.hpp"
namespace glm
{
template <typename genType>
genType abs(genType const & x);
template <typename genType>
genType sign(genType const & x);
template <typename genType>
genType floor(genType const & x);
template <typename genType>
genType trunc(genType const & x);
template <typename genType>
genType round(genType const & x);
template <typename genType>
genType roundEven(genType const & x);
template <typename genType>
genType ceil(genType const & x);
template <typename genType>
genType fract(genType const & x);
template <typename genType>
genType mod(
genType const & x,
genType const & y);
template <typename genType>
genType mod(
genType const & x,
typename genType::value_type const & y);
template <typename genType>
genType modf(
genType const & x,
genType & i);
template <typename genType>
genType min(
genType const & x,
genType const & y);
template <typename genType>
genType min(
genType const & x,
typename genType::value_type const & y);
template <typename genType>
genType max(
genType const & x,
genType const & y);
template <typename genType>
genType max(
genType const & x,
typename genType::value_type const & y);
template <typename genType>
genType clamp(
genType const & x,
genType const & minVal,
genType const & maxVal);
template <typename genType>
genType clamp(
genType const & x,
typename genType::value_type const & minVal,
typename genType::value_type const & maxVal);
template <typename genTypeT, typename genTypeU>
genTypeT mix(genTypeT const & x, genTypeT const & y, genTypeU const & a);
template <typename genType>
genType step(
genType const & edge,
genType const & x);
template <typename genType>
genType step(
typename genType::value_type const & edge,
genType const & x);
template <typename genType>
genType smoothstep(
genType const & edge0,
genType const & edge1,
genType const & x);
template <typename genType>
genType smoothstep(
typename genType::value_type const & edge0,
typename genType::value_type const & edge1,
genType const & x);
template <typename genType>
typename genType::bool_type isnan(genType const & x);
template <typename genType>
typename genType::bool_type isinf(genType const & x);
template <typename genType, typename genIType>
genIType floatBitsToInt(genType const & value);
template <typename genType, typename genUType>
genUType floatBitsToUint(genType const & value);
template <typename genType, typename genIType>
genType intBitsToFloat(genIType const & value);
template <typename genType, typename genUType>
genType uintBitsToFloat(genUType const & value);
template <typename genType>
genType fma(genType const & a, genType const & b, genType const & c);
template <typename genType, typename genIType>
genType frexp(genType const & x, genIType & exp);
template <typename genType, typename genIType>
genType ldexp(genType const & x, genIType const & exp);
}//namespace glm
#include "func_common.inl"
#endif//GLM_CORE_func_common