]>
Commit | Line | Data |
---|---|---|
1 | <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' | |
2 | 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> | |
3 | <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> | |
4 | <head> | |
5 | <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> | |
6 | <title>normalized(vec)</title> | |
7 | <link href='reno.css' type='text/css' rel='stylesheet'/> | |
8 | </head> | |
9 | <body> | |
10 | <div class="body-0"> | |
11 | <div class="body-1"> | |
12 | <div class="body-2"> | |
13 | <div> | |
14 | <h1>QVM: Quaternions, Vectors, Matrices</h1> | |
15 | </div> | |
16 | <!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. --> | |
17 | <!-- Distributed under the Boost Software License, Version 1.0. (See accompanying --> | |
18 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> | |
19 | <div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>normalized(vec)</h3> | |
20 | </div> | |
21 | <div class="RenoIncludeDIV"><p><span class="RenoEscape">#<!--<wiki>`#</wiki>--></span>include <<span class="RenoLink"><a href="boost_qvm_vec_operations_hpp.html">boost/qvm/vec_operations.hpp</a></span>></p> | |
22 | <pre>namespace boost | |
23 | { | |
24 | namespace <span class="RenoLink"><a href="qvm.html">qvm</a></span> | |
25 | { | |
26 | <span class="RenoIncludeSPAN"> //Only <span class="RenoLink"><a href="SFINAE_enable_if.html">enabled if</a></span>: | |
27 | // <span class="RenoLink"><a href="is_vec.html">is_vec</a></span><A>::value | |
28 | template <class A> | |
29 | typename <span class="RenoLink"><a href="deduce_vec.html">deduce_vec</a></span><A>::type | |
30 | <span class="RenoLink">normalized</span>( A const & a );</span> | |
31 | } | |
32 | }</pre> | |
33 | </div><h4>Effects:</h4> | |
34 | <p>As if</p> | |
35 | <pre>typename <span class="RenoLink"><a href="deduce_vec.html">deduce_vec</a></span><A>::type tmp; | |
36 | <span class="RenoLink"><a href="assign_vec_vec_.html">assign</a></span>(tmp,a); | |
37 | <span class="RenoLink"><a href="normalize_vec_.html">normalize</a></span>(tmp); | |
38 | return tmp;</pre> | |
39 | </div><div class="RenoAutoDIV"><div class="RenoHR"><hr/></div> | |
40 | See also: <span class="RenoPageList"><a href="boost_qvm_vec_operations_hpp.html">boost/qvm/vec_operations.hpp</a></span> | |
41 | </div> | |
42 | <!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. --> | |
43 | <!-- Distributed under the Boost Software License, Version 1.0. (See accompanying --> | |
44 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> | |
45 | <div id="footer"> | |
46 | <p> | |
47 | <a class="logo" href="http://jigsaw.w3.org/css-validator/check/referer"><img class="logo_pic" src="valid-css.png" alt="Valid CSS" height="31" width="88"/></a> | |
48 | <a class="logo" href="http://validator.w3.org/check?uri=referer"><img class="logo_pic" src="valid-xhtml.png" alt="Valid XHTML 1.0" height="31" width="88"/></a> | |
49 | <small>Copyright (c) 2008-2016 by Emil Dotchevski and Reverge Studios, Inc.<br/> | |
50 | Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</small> | |
51 | </p> | |
52 | </div> | |
53 | </div> | |
54 | </div> | |
55 | </div> | |
56 | </body> | |
57 | </html> |