Go to the documentation of this file.
36 #ifndef GLM_CORE_func_common
37 #define GLM_CORE_func_common GLM_VERSION
52 template <
typename genType>
53 genType
abs(genType
const & x);
61 template <
typename genType>
62 genType
sign(genType
const & x);
70 template <
typename genType>
71 genType
floor(genType
const & x);
80 template <
typename genType>
81 genType
trunc(genType
const & x);
93 template <
typename genType>
94 genType
round(genType
const & x);
105 template <
typename genType>
115 template <
typename genType>
116 genType
ceil(genType
const & x);
124 template <
typename genType>
125 genType
fract(genType
const & x);
134 template <
typename genType>
146 template <
typename genType>
149 typename genType::value_type
const & y);
160 template <
typename genType>
171 template <
typename genType>
176 template <
typename genType>
179 typename genType::value_type
const & y);
187 template <
typename genType>
192 template <
typename genType>
195 typename genType::value_type
const & y);
204 template <
typename genType>
207 genType
const & minVal,
208 genType
const & maxVal);
210 template <
typename genType>
213 typename genType::value_type
const & minVal,
214 typename genType::value_type
const & maxVal);
258 template <
typename genTypeT,
typename genTypeU>
259 genTypeT
mix(genTypeT
const & x, genTypeT
const & y, genTypeU
const & a);
265 template <
typename genType>
267 genType
const & edge,
270 template <
typename genType>
272 typename genType::value_type
const & edge,
289 template <
typename genType>
291 genType
const & edge0,
292 genType
const & edge1,
295 template <
typename genType>
297 typename genType::value_type
const & edge0,
298 typename genType::value_type
const & edge1,
313 template <
typename genType>
314 typename genType::bool_type
isnan(genType
const & x);
326 template <
typename genType>
327 typename genType::bool_type
isinf(genType
const & x);
338 template <
typename genType,
typename genIType>
350 template <
typename genType,
typename genUType>
366 template <
typename genType,
typename genIType>
382 template <
typename genType,
typename genUType>
391 template <
typename genType>
392 genType
fma(genType
const & a, genType
const & b, genType
const & c);
408 template <
typename genType,
typename genIType>
409 genType
frexp(genType
const & x, genIType &
exp);
422 template <
typename genType,
typename genIType>
423 genType
ldexp(genType
const & x, genIType
const &
exp);
428 #include "func_common.inl"
430 #endif//GLM_CORE_func_common