gradient_paint.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 #include "../gtx/optimum_pow.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_gradient_paint extension included")
46 #endif
47 
48 namespace glm
49 {
52 
55  template <typename T, precision P>
57  detail::tvec2<T, P> const & Center,
58  T const & Radius,
59  detail::tvec2<T, P> const & Focal,
60  detail::tvec2<T, P> const & Position);
61 
64  template <typename T, precision P>
66  detail::tvec2<T, P> const & Point0,
67  detail::tvec2<T, P> const & Point1,
68  detail::tvec2<T, P> const & Position);
69 
71 }// namespace glm
72 
73 #include "gradient_paint.inl"
GLM_FUNC_DECL T radialGradient(detail::tvec2< T, P > const &Center, T const &Radius, detail::tvec2< T, P > const &Focal, detail::tvec2< T, P > const &Position)
GLM_FUNC_DECL T linearGradient(detail::tvec2< T, P > const &Point0, detail::tvec2< T, P > const &Point1, detail::tvec2< T, P > const &Position)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:31