<ahref="a00491.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="preprocessor">#include "../gtc/constants.hpp"</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> </div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_fast_trigonometry 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><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> </div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_fast_trigonometry extension included")</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> {</div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> </div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T></div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span>  GLM_FUNC_DECL T <aclass="code"href="a00742.html#ga069527c6dbd64f53435b8ebc4878b473">wrapAngle</a>(T <aclass="code"href="a00678.html#ga8aa248b31d5ade470c87304df5eb7bd8">angle</a>);</div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T></div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span>  GLM_FUNC_DECL T <aclass="code"href="a00742.html#ga0aab3257bb3b628d10a1e0483e2c6915">fastSin</a>(T <aclass="code"href="a00678.html#ga8aa248b31d5ade470c87304df5eb7bd8">angle</a>);</div><divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> </div><divclass="line"><aname="l00043"></a><spanclass="lineno"> 43</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T></div><divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span>  GLM_FUNC_DECL T <aclass="code"href="a00742.html#gab34c8b45c23c0165a64dcecfcc3b302a">fastCos</a>(T <aclass="code"href="a00678.html#ga8aa248b31d5ade470c87304df5eb7bd8">angle</a>);</div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span> </div><divclass="line"><aname="l00049"></a><spanclass="lineno"> 49</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T>
<divclass="ttc"id="a00742_html_gae25de86a968490ff56856fa425ec9d30"><divclass="ttname"><ahref="a00742.html#gae25de86a968490ff56856fa425ec9d30">glm::fastAtan</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastAtan(T angle)</div><divclass="ttdoc">Faster than the common atan function but less accurate. </div></div>
<divclass="ttc"id="a00742_html_gaf29b9c1101a10007b4f79ee89df27ba2"><divclass="ttname"><ahref="a00742.html#gaf29b9c1101a10007b4f79ee89df27ba2">glm::fastTan</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastTan(T angle)</div><divclass="ttdoc">Faster than the common tan function but less accurate. </div></div>
<divclass="ttc"id="a00742_html_gab34c8b45c23c0165a64dcecfcc3b302a"><divclass="ttname"><ahref="a00742.html#gab34c8b45c23c0165a64dcecfcc3b302a">glm::fastCos</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastCos(T angle)</div><divclass="ttdoc">Faster than the common cos function but less accurate. </div></div>
<divclass="ttc"id="a00742_html_ga069527c6dbd64f53435b8ebc4878b473"><divclass="ttname"><ahref="a00742.html#ga069527c6dbd64f53435b8ebc4878b473">glm::wrapAngle</a></div><divclass="ttdeci">GLM_FUNC_DECL T wrapAngle(T angle)</div><divclass="ttdoc">Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. </div></div>
<divclass="ttc"id="a00742_html_ga9721d63356e5d94fdc4b393a426ab26b"><divclass="ttname"><ahref="a00742.html#ga9721d63356e5d94fdc4b393a426ab26b">glm::fastAcos</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastAcos(T angle)</div><divclass="ttdoc">Faster than the common acos function but less accurate. </div></div>
<divclass="ttc"id="a00742_html_ga0aab3257bb3b628d10a1e0483e2c6915"><divclass="ttname"><ahref="a00742.html#ga0aab3257bb3b628d10a1e0483e2c6915">glm::fastSin</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastSin(T angle)</div><divclass="ttdoc">Faster than the common sin function but less accurate. </div></div>