Updated API documentation
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.10"/>
|
||||
<title>0.9.9 API documenation: gradient_paint.hpp Source File</title>
|
||||
<title>0.9.9 API documenation: glm.hpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -80,51 +80,77 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_98f7f9d41f9d3029bd68cf237526a774.html">Source</a></li><li class="navelem"><a class="el" href="dir_9344afb825aed5e2f5be1d2015dde43c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_45973f864e07b2505003ae343b7c8af7.html">glm</a></li><li class="navelem"><a class="el" href="dir_304be5dfae1339a7705426c0b536faf2.html">glm</a></li><li class="navelem"><a class="el" href="dir_e8f3c1046ba4b357711397765359cd18.html">gtx</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_98f7f9d41f9d3029bd68cf237526a774.html">Source</a></li><li class="navelem"><a class="el" href="dir_9344afb825aed5e2f5be1d2015dde43c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_45973f864e07b2505003ae343b7c8af7.html">glm</a></li><li class="navelem"><a class="el" href="dir_304be5dfae1339a7705426c0b536faf2.html">glm</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">gradient_paint.hpp</div> </div>
|
||||
<div class="title">glm.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="a00036.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// Dependency:</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "../glm.hpp"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "../gtx/optimum_pow.hpp"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"># error "GLM: GLM_GTX_gradient_paint 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."</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"># pragma message("GLM: GLM_GTX_gradient_paint extension included")</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="a00135.html">glm</a></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  GLM_FUNC_DECL T <a class="code" href="a00187.html#gaaecb1e93de4cbe0758b882812d4da294">radialGradient</a>(</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  vec<2, T, Q> <span class="keyword">const</span>& Center,</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  T <span class="keyword">const</span>& Radius,</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  vec<2, T, Q> <span class="keyword">const</span>& Focal,</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  vec<2, T, Q> <span class="keyword">const</span>& Position);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  GLM_FUNC_DECL T <a class="code" href="a00187.html#ga849241df1e55129b8ce9476200307419">linearGradient</a>(</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  vec<2, T, Q> <span class="keyword">const</span>& Point0,</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  vec<2, T, Q> <span class="keyword">const</span>& Point1,</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  vec<2, T, Q> <span class="keyword">const</span>& Position);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }<span class="comment">// namespace glm</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#include "gradient_paint.inl"</span></div>
|
||||
<div class="ttc" id="a00135_html"><div class="ttname"><a href="a00135.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00015_source.html#l00020">common.hpp:20</a></div></div>
|
||||
<div class="ttc" id="a00187_html_gaaecb1e93de4cbe0758b882812d4da294"><div class="ttname"><a href="a00187.html#gaaecb1e93de4cbe0758b882812d4da294">glm::radialGradient</a></div><div class="ttdeci">GLM_FUNC_DECL T radialGradient(vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)</div><div class="ttdoc">Return a color from a radial gradient. </div></div>
|
||||
<div class="ttc" id="a00187_html_ga849241df1e55129b8ce9476200307419"><div class="ttname"><a href="a00187.html#ga849241df1e55129b8ce9476200307419">glm::linearGradient</a></div><div class="ttdeci">GLM_FUNC_DECL T linearGradient(vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)</div><div class="ttdoc">Return a color from a linear gradient. </div></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#include "<a class="code" href="a00002.html">detail/_fixes.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#include "<a class="code" href="a00094.html">detail/setup.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#include <cmath></span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#include <climits></span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#include <cfloat></span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#include <limits></span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#include <cassert></span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#include "<a class="code" href="a00034.html">fwd.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor">#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_CORE_INCLUDED_DISPLAYED)</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor"># define GLM_MESSAGE_CORE_INCLUDED_DISPLAYED</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor"># pragma message("GLM: Core library included")</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#endif//GLM_MESSAGES</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#include "<a class="code" href="a00129.html">vec2.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#include "<a class="code" href="a00130.html">vec3.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#include "<a class="code" href="a00131.html">vec4.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="preprocessor">#include "<a class="code" href="a00047.html">mat2x2.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#include "<a class="code" href="a00048.html">mat2x3.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#include "<a class="code" href="a00049.html">mat2x4.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor">#include "<a class="code" href="a00050.html">mat3x2.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#include "<a class="code" href="a00051.html">mat3x3.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor">#include "<a class="code" href="a00052.html">mat3x4.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor">#include "<a class="code" href="a00053.html">mat4x2.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#include "<a class="code" href="a00054.html">mat4x3.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor">#include "<a class="code" href="a00055.html">mat4x4.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor">#include "<a class="code" href="a00101.html">trigonometric.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor">#include "<a class="code" href="a00025.html">exponential.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#include "<a class="code" href="a00015.html">common.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#include "<a class="code" href="a00078.html">packing.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#include "<a class="code" href="a00035.html">geometric.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor">#include "<a class="code" href="a00056.html">matrix.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#include "<a class="code" href="a00136.html">vector_relational.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#include "<a class="code" href="a00042.html">integer.hpp</a>"</span></div>
|
||||
<div class="ttc" id="a00056_html"><div class="ttname"><a href="a00056.html">matrix.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00015_html"><div class="ttname"><a href="a00015.html">common.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00042_html"><div class="ttname"><a href="a00042.html">integer.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00130_html"><div class="ttname"><a href="a00130.html">vec3.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00101_html"><div class="ttname"><a href="a00101.html">trigonometric.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00047_html"><div class="ttname"><a href="a00047.html">mat2x2.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00035_html"><div class="ttname"><a href="a00035.html">geometric.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00050_html"><div class="ttname"><a href="a00050.html">mat3x2.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00055_html"><div class="ttname"><a href="a00055.html">mat4x4.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00129_html"><div class="ttname"><a href="a00129.html">vec2.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00034_html"><div class="ttname"><a href="a00034.html">fwd.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00078_html"><div class="ttname"><a href="a00078.html">packing.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00049_html"><div class="ttname"><a href="a00049.html">mat2x4.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00054_html"><div class="ttname"><a href="a00054.html">mat4x3.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00025_html"><div class="ttname"><a href="a00025.html">exponential.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00052_html"><div class="ttname"><a href="a00052.html">mat3x4.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00131_html"><div class="ttname"><a href="a00131.html">vec4.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00094_html"><div class="ttname"><a href="a00094.html">setup.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00053_html"><div class="ttname"><a href="a00053.html">mat4x2.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00051_html"><div class="ttname"><a href="a00051.html">mat3x3.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00002_html"><div class="ttname"><a href="a00002.html">_fixes.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00048_html"><div class="ttname"><a href="a00048.html">mat2x3.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
<div class="ttc" id="a00136_html"><div class="ttname"><a href="a00136.html">vector_relational.hpp</a></div><div class="ttdoc">Core features </div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user