22#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23# ifndef GLM_ENABLE_EXPERIMENTAL
24# pragma message("GLM: GLM_GTX_fast_square_root 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.")
26# pragma message("GLM: GLM_GTX_fast_square_root extension included")
38 template<
typename genType>
39 GLM_FUNC_DECL genType
fastSqrt(genType x);
44 template<length_t L,
typename T, qualifier Q>
45 GLM_FUNC_DECL vec<L, T, Q>
fastSqrt(vec<L, T, Q>
const& x);
50 template<
typename genType>
56 template<length_t L,
typename T, qualifier Q>
62 template<
typename genType>
68 template<length_t L,
typename T, qualifier Q>
69 GLM_FUNC_DECL T
fastLength(vec<L, T, Q>
const& x);
74 template<
typename genType>
75 GLM_FUNC_DECL genType
fastDistance(genType x, genType y);
80 template<length_t L,
typename T, qualifier Q>
81 GLM_FUNC_DECL T
fastDistance(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y);
86 template<
typename genType>
92#include "fast_square_root.inl"
GLM_FUNC_DECL genType fastNormalize(genType const &x)
GLM_FUNC_DECL genType fastSqrt(genType x)
Definition fast_square_root.inl:7
GLM_FUNC_DECL genType fastInverseSqrt(genType x)
Definition fast_square_root.inl:22
GLM_FUNC_DECL genType fastDistance(genType x, genType y)
Definition fast_square_root.inl:52
GLM_FUNC_DECL genType fastLength(genType x)
Definition fast_square_root.inl:35
Core features
Definition common.hpp:21