Updated API
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.8"/>
|
||||
<title>0.9.6: normal.hpp Source File</title>
|
||||
<title>0.9.6: normalize_dot.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>
|
||||
@@ -46,33 +46,34 @@
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">normal.hpp</div> </div>
|
||||
<div class="title">normalize_dot.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="a00082.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="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// Dependency:</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "../glm.hpp"</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"># pragma message("GLM: GLM_GTX_normal extension included")</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// Dependency:</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "../gtx/fast_square_root.hpp"</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">namespace </span><a class="code" href="a00146.html">glm</a></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P> </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  GLM_FUNC_DECL tvec3<T, P> <a class="code" href="a00215.html#ga7842850bcda582f1756883e3ed950e14">triangleNormal</a>(</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  tvec3<T, P> <span class="keyword">const</span> & p1, </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  tvec3<T, P> <span class="keyword">const</span> & p2, </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  tvec3<T, P> <span class="keyword">const</span> & p3);</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }<span class="comment">//namespace glm</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"># pragma message("GLM: GLM_GTX_normalize_dot extension included")</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span><a class="code" href="a00145.html">glm</a></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P, <span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  GLM_FUNC_DECL T <a class="code" href="a00214.html#gaffbc2f2cb15838de8886a68048f9004d">normalizeDot</a>(vecType<T, P> <span class="keyword">const</span> & x, vecType<T, P> <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#include "normal.inl"</span></div>
|
||||
<div class="ttc" id="a00146_html"><div class="ttname"><a href="a00146.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00003_source.html#l00031">_noise.hpp:31</a></div></div>
|
||||
<div class="ttc" id="a00215_html_ga7842850bcda582f1756883e3ed950e14"><div class="ttname"><a href="a00215.html#ga7842850bcda582f1756883e3ed950e14">glm::triangleNormal</a></div><div class="ttdeci">GLM_FUNC_DECL tvec3< T, P > triangleNormal(tvec3< T, P > const &p1, tvec3< T, P > const &p2, tvec3< T, P > const &p3)</div><div class="ttdoc">Computes triangle normal from triangle points. </div></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P, <span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  GLM_FUNC_DECL T <a class="code" href="a00214.html#ga8593b21bc2fe22184f01d5e08b5a2024">fastNormalizeDot</a>(vecType<T, P> <span class="keyword">const</span> & x, vecType<T, P> <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }<span class="comment">//namespace glm</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#include "normalize_dot.inl"</span></div>
|
||||
<div class="ttc" id="a00214_html_gaffbc2f2cb15838de8886a68048f9004d"><div class="ttname"><a href="a00214.html#gaffbc2f2cb15838de8886a68048f9004d">glm::normalizeDot</a></div><div class="ttdeci">GLM_FUNC_DECL T normalizeDot(vecType< T, P > const &x, vecType< T, P > const &y)</div><div class="ttdoc">Normalize parameters and returns the dot product of x and y. </div></div>
|
||||
<div class="ttc" id="a00214_html_ga8593b21bc2fe22184f01d5e08b5a2024"><div class="ttname"><a href="a00214.html#ga8593b21bc2fe22184f01d5e08b5a2024">glm::fastNormalizeDot</a></div><div class="ttdeci">GLM_FUNC_DECL T fastNormalizeDot(vecType< T, P > const &x, vecType< T, P > const &y)</div><div class="ttdoc">Normalize parameters and returns the dot product of x and y. </div></div>
|
||||
<div class="ttc" id="a00145_html"><div class="ttname"><a href="a00145.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00003_source.html#l00039">_noise.hpp:39</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user