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
Definition: _literals.hpp:31
Eigen::Triplet
glm::radialGradient
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
#define GLM_FUNC_DECL
Definition: setup.hpp:728
glm::linearGradient
GLM_FUNC_DECL T linearGradient(detail::tvec2< T, P > const &Point0, detail::tvec2< T, P > const &Point1, detail::tvec2< T, P > const &Position)


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:10