38 #ifndef GLM_GTX_gradient_paint
39 #define GLM_GTX_gradient_paint GLM_VERSION
43 #include "../gtx/optimum_pow.hpp"
45 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
46 # pragma message("GLM: GLM_GTX_gradient_paint extension included")
56 template <
typename valType>
58 detail::tvec2<valType>
const & Center,
59 valType
const & Radius,
60 detail::tvec2<valType>
const & Focal,
61 detail::tvec2<valType>
const & Position);
65 template <
typename valType>
67 detail::tvec2<valType>
const & Point0,
68 detail::tvec2<valType>
const & Point1,
69 detail::tvec2<valType>
const & Position);
76 #endif//GLM_GTX_gradient_paint
Definition: _detail.hpp:38
valType radialGradient(detail::tvec2< valType > const &Center, valType const &Radius, detail::tvec2< valType > const &Focal, detail::tvec2< valType > const &Position)
Definition: gradient_paint.inl:14
valType linearGradient(detail::tvec2< valType > const &Point0, detail::tvec2< valType > const &Point1, detail::tvec2< valType > const &Position)
Definition: gradient_paint.inl:34