mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 11:24:35 +00:00
234 lines
36 KiB
HTML
234 lines
36 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<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.18"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>1.0.0 API documentation: easing.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>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">1.0.0 API documentation
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.18 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_63ed049134a778d525e06b63afc2c979.html">Github</a></li><li class="navelem"><a class="el" href="dir_c98a9ac98258ab9f831b188d66361a70.html">g-truc</a></li><li class="navelem"><a class="el" href="dir_50f12b6ceb23d7f6adfb377a1ae8b006.html">glm</a></li><li class="navelem"><a class="el" href="dir_fca33f1b5115d46f42c670590789c0d2.html">glm</a></li><li class="navelem"><a class="el" href="dir_628fd60eb37daf5aa9a81e3983c640b7.html">gtx</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">easing.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="a00608.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="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// Dependency:</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "../glm.hpp"</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "../gtc/constants.hpp"</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "../detail/qualifier.hpp"</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">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"># error "GLM: GLM_GTX_easing 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="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"># pragma message("GLM: GLM_GTX_easing extension included")</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span>glm{</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="a00927.html#ga290c3e47cb0a49f2e8abe90b1872b649"> 37</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga290c3e47cb0a49f2e8abe90b1872b649">linearInterpolation</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="a00927.html#gaf42089d35855695132d217cd902304a0"> 42</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gaf42089d35855695132d217cd902304a0">quadraticEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="a00927.html#ga283717bc2d937547ad34ec0472234ee3"> 47</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga283717bc2d937547ad34ec0472234ee3">quadraticEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00927.html#ga03e8fc2d7945a4e63ee33b2159c14cea"> 54</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga03e8fc2d7945a4e63ee33b2159c14cea">quadraticEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="a00927.html#gaff52f746102b94864d105563ba8895ae"> 58</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gaff52f746102b94864d105563ba8895ae">cubicEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="a00927.html#ga40d746385d8bcc5973f5bc6a2340ca91"> 63</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga40d746385d8bcc5973f5bc6a2340ca91">cubicEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="a00927.html#ga55134072b42d75452189321d4a2ad91c"> 70</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga55134072b42d75452189321d4a2ad91c">cubicEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="a00927.html#ga808b41f14514f47dad5dcc69eb924afd"> 75</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga808b41f14514f47dad5dcc69eb924afd">quarticEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="a00927.html#ga4dfb33fa7664aa888eb647999d329b98"> 80</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga4dfb33fa7664aa888eb647999d329b98">quarticEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="a00927.html#ga6d000f852de12b197e154f234b20c505"> 87</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga6d000f852de12b197e154f234b20c505">quarticEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="a00927.html#ga097579d8e087dcf48037588140a21640"> 92</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga097579d8e087dcf48037588140a21640">quinticEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="a00927.html#ga7dbd4d5c8da3f5353121f615e7b591d7"> 97</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga7dbd4d5c8da3f5353121f615e7b591d7">quinticEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="a00927.html#ga2a82d5c46df7e2d21cc0108eb7b83934"> 104</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga2a82d5c46df7e2d21cc0108eb7b83934">quinticEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="a00927.html#gafb338ac6f6b2bcafee50e3dca5201dbf"> 109</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gafb338ac6f6b2bcafee50e3dca5201dbf">sineEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="a00927.html#gab3e454f883afc1606ef91363881bf5a3"> 114</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gab3e454f883afc1606ef91363881bf5a3">sineEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="a00927.html#gaa46e3d5fbf7a15caa28eff9ef192d7c7"> 119</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gaa46e3d5fbf7a15caa28eff9ef192d7c7">sineEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="a00927.html#ga34508d4b204a321ec26d6086aa047997"> 124</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga34508d4b204a321ec26d6086aa047997">circularEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="a00927.html#ga26fefde9ced9b72745fe21f1a3fe8da7"> 129</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga26fefde9ced9b72745fe21f1a3fe8da7">circularEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a00927.html#ga0c1027637a5b02d4bb3612aa12599d69"> 136</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga0c1027637a5b02d4bb3612aa12599d69">circularEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="a00927.html#ga7f24ee9219ab4c84dc8de24be84c1e3c"> 141</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga7f24ee9219ab4c84dc8de24be84c1e3c">exponentialEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="a00927.html#ga517f2bcfd15bc2c25c466ae50808efc3"> 146</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga517f2bcfd15bc2c25c466ae50808efc3">exponentialEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="a00927.html#ga232fb6dc093c5ce94bee105ff2947501"> 153</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga232fb6dc093c5ce94bee105ff2947501">exponentialEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="a00927.html#ga230918eccee4e113d10ec5b8cdc58695"> 158</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga230918eccee4e113d10ec5b8cdc58695">elasticEaseIn</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="a00927.html#gace9c9d1bdf88bf2ab1e7cdefa54c7365"> 163</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gace9c9d1bdf88bf2ab1e7cdefa54c7365">elasticEaseOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="a00927.html#ga2db4ac8959559b11b4029e54812908d6"> 170</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga2db4ac8959559b11b4029e54812908d6">elasticEaseInOut</a>(genType <span class="keyword">const</span> & a);</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="a00927.html#ga93cddcdb6347a44d5927cc2bf2570816"> 174</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga33777c9dd98f61d9472f96aafdf2bd36">backEaseIn</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="a00927.html#gabf25069fa906413c858fd46903d520b9"> 178</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga640c1ac6fe9d277a197da69daf60ee4f">backEaseOut</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="a00927.html#gace6d24722a2f6722b56398206eb810bb"> 182</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga68a7b760f2afdfab298d5cd6d7611fb1">backEaseInOut</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="a00927.html#ga33777c9dd98f61d9472f96aafdf2bd36"> 188</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga33777c9dd98f61d9472f96aafdf2bd36">backEaseIn</a>(genType <span class="keyword">const</span>& a, genType <span class="keyword">const</span>& o);</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="a00927.html#ga640c1ac6fe9d277a197da69daf60ee4f"> 194</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga640c1ac6fe9d277a197da69daf60ee4f">backEaseOut</a>(genType <span class="keyword">const</span>& a, genType <span class="keyword">const</span>& o);</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="a00927.html#ga68a7b760f2afdfab298d5cd6d7611fb1"> 200</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga68a7b760f2afdfab298d5cd6d7611fb1">backEaseInOut</a>(genType <span class="keyword">const</span>& a, genType <span class="keyword">const</span>& o);</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="a00927.html#gaac30767f2e430b0c3fc859a4d59c7b5b"> 204</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gaac30767f2e430b0c3fc859a4d59c7b5b">bounceEaseIn</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="a00927.html#ga94007005ff0dcfa0749ebfa2aec540b2"> 208</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#ga94007005ff0dcfa0749ebfa2aec540b2">bounceEaseOut</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="a00927.html#gadf9f38eff1e5f4c2fa5b629a25ae413e"> 212</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00927.html#gadf9f38eff1e5f4c2fa5b629a25ae413e">bounceEaseInOut</a>(genType <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> }<span class="comment">//namespace glm</span></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="preprocessor">#include "easing.inl"</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aa00927_html_ga40d746385d8bcc5973f5bc6a2340ca91"><div class="ttname"><a href="a00927.html#ga40d746385d8bcc5973f5bc6a2340ca91">glm::cubicEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType cubicEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the cubic y = (x - 1)^3 + 1.</div></div>
|
|
<div class="ttc" id="aa00927_html_gaac30767f2e430b0c3fc859a4d59c7b5b"><div class="ttname"><a href="a00927.html#gaac30767f2e430b0c3fc859a4d59c7b5b">glm::bounceEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType bounceEaseIn(genType const &a)</div></div>
|
|
<div class="ttc" id="aa00927_html_gace9c9d1bdf88bf2ab1e7cdefa54c7365"><div class="ttname"><a href="a00927.html#gace9c9d1bdf88bf2ab1e7cdefa54c7365">glm::elasticEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType elasticEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga2db4ac8959559b11b4029e54812908d6"><div class="ttname"><a href="a00927.html#ga2db4ac8959559b11b4029e54812908d6">glm::elasticEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType elasticEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2,...</div></div>
|
|
<div class="ttc" id="aa00927_html_ga55134072b42d75452189321d4a2ad91c"><div class="ttname"><a href="a00927.html#ga55134072b42d75452189321d4a2ad91c">glm::cubicEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType cubicEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0....</div></div>
|
|
<div class="ttc" id="aa00927_html_gab3e454f883afc1606ef91363881bf5a3"><div class="ttname"><a href="a00927.html#gab3e454f883afc1606ef91363881bf5a3">glm::sineEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType sineEaseOut(genType const &a)</div><div class="ttdoc">Modelled after quarter-cycle of sine wave (different phase)</div></div>
|
|
<div class="ttc" id="aa00927_html_ga68a7b760f2afdfab298d5cd6d7611fb1"><div class="ttname"><a href="a00927.html#ga68a7b760f2afdfab298d5cd6d7611fb1">glm::backEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType backEaseInOut(genType const &a, genType const &o)</div></div>
|
|
<div class="ttc" id="aa00927_html_ga34508d4b204a321ec26d6086aa047997"><div class="ttname"><a href="a00927.html#ga34508d4b204a321ec26d6086aa047997">glm::circularEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType circularEaseIn(genType const &a)</div><div class="ttdoc">Modelled after shifted quadrant IV of unit circle.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga290c3e47cb0a49f2e8abe90b1872b649"><div class="ttname"><a href="a00927.html#ga290c3e47cb0a49f2e8abe90b1872b649">glm::linearInterpolation</a></div><div class="ttdeci">GLM_FUNC_DECL genType linearInterpolation(genType const &a)</div><div class="ttdoc">Modelled after the line y = x.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga7f24ee9219ab4c84dc8de24be84c1e3c"><div class="ttname"><a href="a00927.html#ga7f24ee9219ab4c84dc8de24be84c1e3c">glm::exponentialEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType exponentialEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the exponential function y = 2^(10(x - 1))</div></div>
|
|
<div class="ttc" id="aa00927_html_ga4dfb33fa7664aa888eb647999d329b98"><div class="ttname"><a href="a00927.html#ga4dfb33fa7664aa888eb647999d329b98">glm::quarticEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quarticEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the quartic y = 1 - (x - 1)^4.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga640c1ac6fe9d277a197da69daf60ee4f"><div class="ttname"><a href="a00927.html#ga640c1ac6fe9d277a197da69daf60ee4f">glm::backEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType backEaseOut(genType const &a, genType const &o)</div></div>
|
|
<div class="ttc" id="aa00927_html_gadf9f38eff1e5f4c2fa5b629a25ae413e"><div class="ttname"><a href="a00927.html#gadf9f38eff1e5f4c2fa5b629a25ae413e">glm::bounceEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType bounceEaseInOut(genType const &a)</div></div>
|
|
<div class="ttc" id="aa00927_html_ga517f2bcfd15bc2c25c466ae50808efc3"><div class="ttname"><a href="a00927.html#ga517f2bcfd15bc2c25c466ae50808efc3">glm::exponentialEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType exponentialEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the exponential function y = -2^(-10x) + 1.</div></div>
|
|
<div class="ttc" id="aa00927_html_gaf42089d35855695132d217cd902304a0"><div class="ttname"><a href="a00927.html#gaf42089d35855695132d217cd902304a0">glm::quadraticEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType quadraticEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the parabola y = x^2.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga808b41f14514f47dad5dcc69eb924afd"><div class="ttname"><a href="a00927.html#ga808b41f14514f47dad5dcc69eb924afd">glm::quarticEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType quarticEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the quartic x^4.</div></div>
|
|
<div class="ttc" id="aa00927_html_gaff52f746102b94864d105563ba8895ae"><div class="ttname"><a href="a00927.html#gaff52f746102b94864d105563ba8895ae">glm::cubicEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType cubicEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the cubic y = x^3.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga94007005ff0dcfa0749ebfa2aec540b2"><div class="ttname"><a href="a00927.html#ga94007005ff0dcfa0749ebfa2aec540b2">glm::bounceEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType bounceEaseOut(genType const &a)</div></div>
|
|
<div class="ttc" id="aa00927_html_ga097579d8e087dcf48037588140a21640"><div class="ttname"><a href="a00927.html#ga097579d8e087dcf48037588140a21640">glm::quinticEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType quinticEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the quintic y = x^5.</div></div>
|
|
<div class="ttc" id="aa00927_html_gaa46e3d5fbf7a15caa28eff9ef192d7c7"><div class="ttname"><a href="a00927.html#gaa46e3d5fbf7a15caa28eff9ef192d7c7">glm::sineEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType sineEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after half sine wave.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga6d000f852de12b197e154f234b20c505"><div class="ttname"><a href="a00927.html#ga6d000f852de12b197e154f234b20c505">glm::quarticEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quarticEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0....</div></div>
|
|
<div class="ttc" id="aa00927_html_ga0c1027637a5b02d4bb3612aa12599d69"><div class="ttname"><a href="a00927.html#ga0c1027637a5b02d4bb3612aa12599d69">glm::circularEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType circularEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0,...</div></div>
|
|
<div class="ttc" id="aa00927_html_ga33777c9dd98f61d9472f96aafdf2bd36"><div class="ttname"><a href="a00927.html#ga33777c9dd98f61d9472f96aafdf2bd36">glm::backEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType backEaseIn(genType const &a, genType const &o)</div></div>
|
|
<div class="ttc" id="aa00927_html_ga7dbd4d5c8da3f5353121f615e7b591d7"><div class="ttname"><a href="a00927.html#ga7dbd4d5c8da3f5353121f615e7b591d7">glm::quinticEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quinticEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the quintic y = (x - 1)^5 + 1.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga283717bc2d937547ad34ec0472234ee3"><div class="ttname"><a href="a00927.html#ga283717bc2d937547ad34ec0472234ee3">glm::quadraticEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quadraticEaseOut(genType const &a)</div><div class="ttdoc">Modelled after the parabola y = -x^2 + 2x.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga232fb6dc093c5ce94bee105ff2947501"><div class="ttname"><a href="a00927.html#ga232fb6dc093c5ce94bee105ff2947501">glm::exponentialEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType exponentialEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))...</div></div>
|
|
<div class="ttc" id="aa00927_html_ga2a82d5c46df7e2d21cc0108eb7b83934"><div class="ttname"><a href="a00927.html#ga2a82d5c46df7e2d21cc0108eb7b83934">glm::quinticEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quinticEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0....</div></div>
|
|
<div class="ttc" id="aa00927_html_gafb338ac6f6b2bcafee50e3dca5201dbf"><div class="ttname"><a href="a00927.html#gafb338ac6f6b2bcafee50e3dca5201dbf">glm::sineEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType sineEaseIn(genType const &a)</div><div class="ttdoc">Modelled after quarter-cycle of sine wave.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga230918eccee4e113d10ec5b8cdc58695"><div class="ttname"><a href="a00927.html#ga230918eccee4e113d10ec5b8cdc58695">glm::elasticEaseIn</a></div><div class="ttdeci">GLM_FUNC_DECL genType elasticEaseIn(genType const &a)</div><div class="ttdoc">Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))</div></div>
|
|
<div class="ttc" id="aa00927_html_ga26fefde9ced9b72745fe21f1a3fe8da7"><div class="ttname"><a href="a00927.html#ga26fefde9ced9b72745fe21f1a3fe8da7">glm::circularEaseOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType circularEaseOut(genType const &a)</div><div class="ttdoc">Modelled after shifted quadrant II of unit circle.</div></div>
|
|
<div class="ttc" id="aa00927_html_ga03e8fc2d7945a4e63ee33b2159c14cea"><div class="ttname"><a href="a00927.html#ga03e8fc2d7945a4e63ee33b2159c14cea">glm::quadraticEaseInOut</a></div><div class="ttdeci">GLM_FUNC_DECL genType quadraticEaseInOut(genType const &a)</div><div class="ttdoc">Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [...</div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.18
|
|
</small></address>
|
|
</body>
|
|
</html>
|