37 return x -
floor(x * static_cast<T>(1.0) / static_cast<T>(289.0)) *
static_cast<T
>(289.0);
43 return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
46 template <
typename T, precision P>
49 return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
52 template <
typename T, precision P>
55 return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
58 template <
typename T, precision P>
61 return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
73 return T(1.79284291400159) - T(0.85373472095314) * r;
76 template <
typename T, precision P>
79 return T(1.79284291400159) - T(0.85373472095314) * r;
82 template <
typename T, precision P>
85 return T(1.79284291400159) - T(0.85373472095314) * r;
88 template <
typename T, precision P>
91 return T(1.79284291400159) - T(0.85373472095314) * r;
101 template <
typename T, precision P>
104 return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
107 template <
typename T, precision P>
110 return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
113 template <
typename T, precision P>
116 return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
GLM_FUNC_QUALIFIER T permute(T const &x)
GLM_FUNC_DECL genType floor(genType const &x)
GLM_FUNC_QUALIFIER detail::tvec2< T, P > fade(detail::tvec2< T, P > const &t)
GLM_FUNC_QUALIFIER T taylorInvSqrt(T const &r)
GLM_FUNC_QUALIFIER T mod289(T const &x)
#define GLM_FUNC_QUALIFIER