diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1vector3d.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1vector3d.html | 1716 |
1 files changed, 1716 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1vector3d.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1vector3d.html new file mode 100644 index 0000000..a7112fb --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1core_1_1vector3d.html | |||
@@ -0,0 +1,1716 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: irr::core::vector3d< T > Class Template Reference</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('classirr_1_1core_1_1vector3d.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> | | ||
89 | <a href="#pub-attribs">Public Attributes</a> </div> | ||
90 | <div class="headertitle"> | ||
91 | <div class="title">irr::core::vector3d< T > Class Template Reference</div> </div> | ||
92 | </div> | ||
93 | <div class="contents"> | ||
94 | <!-- doxytag: class="irr::core::vector3d" --> | ||
95 | <p>3d vector template class with lots of operators and methods. | ||
96 | <a href="classirr_1_1core_1_1vector3d.html#details">More...</a></p> | ||
97 | |||
98 | <p><code>#include <<a class="el" href="vector3d_8h_source.html">vector3d.h</a>></code></p> | ||
99 | |||
100 | <p><a href="classirr_1_1core_1_1vector3d-members.html">List of all members.</a></p> | ||
101 | <h2><a name="pub-methods"></a> | ||
102 | Public Member Functions</h2> | ||
103 | <ul> | ||
104 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html#aed8875ec8b9653857ea87fdb8213daf1">vector3d</a> () | ||
105 | <dl class="el"><dd class="mdescRight">Default constructor (null vector). <a href="#aed8875ec8b9653857ea87fdb8213daf1"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html#a10687f6e33f8f795961a9b8f0a71c79b">vector3d</a> (T nx, T ny, T nz) | ||
106 | <dl class="el"><dd class="mdescRight">Constructor with three different values. <a href="#a10687f6e33f8f795961a9b8f0a71c79b"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html#a08093c70044d66a5c3cdec2522b868f2">vector3d</a> (T n) | ||
107 | <dl class="el"><dd class="mdescRight">Constructor with the same value for all elements. <a href="#a08093c70044d66a5c3cdec2522b868f2"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html#a039600f48ce75c9eca6c0899135e60d5">vector3d</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
108 | <dl class="el"><dd class="mdescRight">Copy constructor. <a href="#a039600f48ce75c9eca6c0899135e60d5"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#aa2470a12e1ef53f440c95df6249e9aa4">crossProduct</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &p) const | ||
109 | <dl class="el"><dd class="mdescRight">Calculates the cross product with another vector. <a href="#aa2470a12e1ef53f440c95df6249e9aa4"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#a0b247d39047c0e51ff16d0118bb396ab">dotProduct</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
110 | <dl class="el"><dd class="mdescRight">Get the dot product with another vector. <a href="#a0b247d39047c0e51ff16d0118bb396ab"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#a7aa9401191db377d67a6d5b160e4c38e">equals</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other, const T tolerance=(T) <a class="el" href="namespaceirr_1_1core.html#a9514dd34463a30102ef8836915cf9c4c">ROUNDING_ERROR_f32</a>) const | ||
111 | <dl class="el"><dd class="mdescRight">returns if this vector equals the other one, taking floating point rounding errors into account <a href="#a7aa9401191db377d67a6d5b160e4c38e"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1vector3d.html#a543aaa4376afd2b5321228fa71540329">getAs3Values</a> (T *<a class="el" href="classirr_1_1core_1_1array.html">array</a>) const | ||
112 | <dl class="el"><dd class="mdescRight">Fills an array of 3 values with the vector data (usually floats). <a href="#a543aaa4376afd2b5321228fa71540329"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1vector3d.html#a357c8d00022e04a68fb20b24f9eb34ce">getAs4Values</a> (T *<a class="el" href="classirr_1_1core_1_1array.html">array</a>) const | ||
113 | <dl class="el"><dd class="mdescRight">Fills an array of 4 values with the vector data (usually floats). <a href="#a357c8d00022e04a68fb20b24f9eb34ce"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#afd81bdc7d165f0e2082155127c3005e2">getDistanceFrom</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
114 | <dl class="el"><dd class="mdescRight">Get distance from another point. <a href="#afd81bdc7d165f0e2082155127c3005e2"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#afe85829b53b8ea449a4b51a2fb14c7be">getDistanceFromSQ</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
115 | <dl class="el"><dd class="mdescRight">Returns squared distance from another point. <a href="#afe85829b53b8ea449a4b51a2fb14c7be"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a9485549addf9967247d3431c7746fbda">getHorizontalAngle</a> () const | ||
116 | <dl class="el"><dd class="mdescRight">Get the rotations that would make a (0,0,1) direction vector point in the same direction as this direction vector. <a href="#a9485549addf9967247d3431c7746fbda"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#ab0ad2c732121c2b6e36c2c2e9ed715fd">getInterpolated</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other, <a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> d) const | ||
117 | <dl class="el"><dd class="mdescRight">Creates an interpolated vector between this vector and another vector. <a href="#ab0ad2c732121c2b6e36c2c2e9ed715fd"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#adb749559ee0941687d4692941146a388">getInterpolated_quadratic</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &v2, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &v3, <a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> d) const | ||
118 | <dl class="el"><dd class="mdescRight">Creates a quadratically interpolated vector between this and two other vectors. <a href="#adb749559ee0941687d4692941146a388"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#ab0f95138bd31d82b5486237c8e49a2d5">getLength</a> () const | ||
119 | <dl class="el"><dd class="mdescRight">Get length of the vector. <a href="#ab0f95138bd31d82b5486237c8e49a2d5"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#ad72df96d0e280b0e6383be273f94f6ae">getLengthSQ</a> () const | ||
120 | <dl class="el"><dd class="mdescRight">Get squared length of the vector. <a href="#ad72df96d0e280b0e6383be273f94f6ae"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#aab6d3c2dc082d8142c7ac4da8625f93a">getSphericalCoordinateAngles</a> () const | ||
121 | <dl class="el"><dd class="mdescRight">Get the spherical coordinate angles. <a href="#aab6d3c2dc082d8142c7ac4da8625f93a"></a><br/></dl><li>template<> <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > <a class="el" href="classirr_1_1core_1_1vector3d.html#aa11de50e7f575c6c282de66417279444">getSphericalCoordinateAngles</a> () const | ||
122 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a32a888e0f608a20deee98c794a321c4c">interpolate</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &a, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &b, <a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> d) | ||
123 | <dl class="el"><dd class="mdescRight">Sets this vector to the linearly interpolated vector between a and b. <a href="#a32a888e0f608a20deee98c794a321c4c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a55a10e03bc09f87b95fc81ea0d508722">invert</a> () | ||
124 | <dl class="el"><dd class="mdescRight">Inverts the vector. <a href="#a55a10e03bc09f87b95fc81ea0d508722"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#ace05ee3b68b47c2ec6baff0d9d64de98">isBetweenPoints</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &begin, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &end) const | ||
125 | <dl class="el"><dd class="mdescRight">Returns if this vector interpreted as a point is on a line between two other points. <a href="#ace05ee3b68b47c2ec6baff0d9d64de98"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a84a1861464ef70e6965c146732103c09">normalize</a> () | ||
126 | <dl class="el"><dd class="mdescRight">Normalizes the vector. <a href="#a84a1861464ef70e6965c146732103c09"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#a125c9bfa0c551f3543f1466f1a670c51">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
127 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#aab7ded0a282f23cdc75533873f41dee5">operator*</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
128 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#ae8ecbd713bd488d45eab406f34679c1c">operator*</a> (const T v) const | ||
129 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a04e89643ddbd6e17ffceffd64e740760">operator*=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
130 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a588d293d4d3ebd95240a9d2b46072233">operator*=</a> (const T v) | ||
131 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a19d8592169d08d461a80d0e3c5a27b7f">operator+</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
132 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a676c089849a119d557e3fd32eb47d2a8">operator+</a> (const T val) const | ||
133 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a37360dbe7e5542e1cd3cdb768f250922">operator+=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
134 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a90dd07738795890b90fbf4b133cd7930">operator+=</a> (const T val) | ||
135 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#acc66a64d3e7ee0b722d155c4e987ecbe">operator-</a> () const | ||
136 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#ae17fdfbc02988aff60dfde5456c9032d">operator-</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
137 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a4c9b7154c6d582cd49039bd4f61c48cb">operator-</a> (const T val) const | ||
138 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a91a4a39544340b3d02e81659f1a0b7d2">operator-=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
139 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#afe666e30d5e903d4d910f2544829233c">operator-=</a> (const T val) | ||
140 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a82f734747a8d460a73482dc69a1d2ece">operator/</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
141 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a783084cb15a1a395c54de649544de966">operator/</a> (const T v) const | ||
142 | <li>template<> <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > <a class="el" href="classirr_1_1core_1_1vector3d.html#a7597f07300c420146117f2e5854153c2">operator/</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> val) const | ||
143 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#ab46c94558797997b369cfe0a38c57794">operator/=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
144 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a6b1f864e2316167a8b5a65ca086c11ff">operator/=</a> (const T v) | ||
145 | <li>template<> <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a1d153631bde79b7bf50c2ab453d2bc60">operator/=</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> val) | ||
146 | <li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#a9ce8b1cf82c64f0985cf668056698519">operator<</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
147 | <dl class="el"><dd class="mdescRight">sort in order X, Y, Z. Difference must be above rounding tolerance. <a href="#a9ce8b1cf82c64f0985cf668056698519"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#ad567b75b65cd2ded2312d41f7a5263da">operator<=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
148 | <dl class="el"><dd class="mdescRight">sort in order X, Y, Z. Equality with rounding tolerance. <a href="#ad567b75b65cd2ded2312d41f7a5263da"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#afaaaf1d22c44ac50d03026cbfc794c42">operator=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) | ||
149 | <li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#a3908b4e712fa753a0c88ca6dfce36e34">operator==</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
150 | <dl class="el"><dd class="mdescRight">use weak float compare <a href="#a3908b4e712fa753a0c88ca6dfce36e34"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#aeabe64473259a894507360f399d7f816">operator></a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
151 | <dl class="el"><dd class="mdescRight">sort in order X, Y, Z. Difference must be above rounding tolerance. <a href="#aeabe64473259a894507360f399d7f816"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1vector3d.html#ab3c1da2da396a7f2ae336fda985cab6d">operator>=</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &other) const | ||
152 | <dl class="el"><dd class="mdescRight">sort in order X, Y, Z. Equality with rounding tolerance. <a href="#ab3c1da2da396a7f2ae336fda985cab6d"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1vector3d.html#ac38b75735ec06716305fbb09ec71784d">rotateXYBy</a> (<a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> degrees, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &center=<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T >()) | ||
153 | <dl class="el"><dd class="mdescRight">Rotates the vector by a specified number of degrees around the Z axis and the specified center. <a href="#ac38b75735ec06716305fbb09ec71784d"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1vector3d.html#a621fbddb42814edd3d14410252cf7b7a">rotateXZBy</a> (<a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> degrees, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &center=<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T >()) | ||
154 | <dl class="el"><dd class="mdescRight">Rotates the vector by a specified number of degrees around the Y axis and the specified center. <a href="#a621fbddb42814edd3d14410252cf7b7a"></a><br/></dl><li>void <a class="el" href="classirr_1_1core_1_1vector3d.html#aaa048312f75f152861479cb48e2ddfe4">rotateYZBy</a> (<a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> degrees, const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &center=<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T >()) | ||
155 | <dl class="el"><dd class="mdescRight">Rotates the vector by a specified number of degrees around the X axis and the specified center. <a href="#aaa048312f75f152861479cb48e2ddfe4"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > <a class="el" href="classirr_1_1core_1_1vector3d.html#a4db5cfbb71995227e37334a19278474d">rotationToDirection</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &forwards=<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T >(0, 0, 1)) const | ||
156 | <dl class="el"><dd class="mdescRight">Builds a direction vector from (this) rotation vector. <a href="#a4db5cfbb71995227e37334a19278474d"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#a3e9048423e1176a7342759a290d55c96">set</a> (const T nx, const T ny, const T nz) | ||
157 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#aaa41e0e1f747d4d83af8ac6b621184da">set</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > &p) | ||
158 | <li><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & <a class="el" href="classirr_1_1core_1_1vector3d.html#ae593448ac63803b3d254b0e6c7600f28">setLength</a> (T newlength) | ||
159 | <dl class="el"><dd class="mdescRight">Sets the length of the vector to a new value. <a href="#ae593448ac63803b3d254b0e6c7600f28"></a><br/></dl></ul> | ||
160 | <h2><a name="pub-attribs"></a> | ||
161 | Public Attributes</h2> | ||
162 | <ul> | ||
163 | <li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#a8c9ed06774dc668112bcefacb6e7732b">X</a> | ||
164 | <dl class="el"><dd class="mdescRight">X coordinate of the vector. <a href="#a8c9ed06774dc668112bcefacb6e7732b"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#af8f87c2fe0ce717ade7c3d7419302fbd">Y</a> | ||
165 | <dl class="el"><dd class="mdescRight">Y coordinate of the vector. <a href="#af8f87c2fe0ce717ade7c3d7419302fbd"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1vector3d.html#ac2beb702e718c3579971348981b220ed">Z</a> | ||
166 | <dl class="el"><dd class="mdescRight">Z coordinate of the vector. <a href="#ac2beb702e718c3579971348981b220ed"></a><br/></dl></ul> | ||
167 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
168 | <div class="textblock"><h3>template<class T><br/> | ||
169 | class irr::core::vector3d< T ></h3> | ||
170 | |||
171 | <p>3d vector template class with lots of operators and methods. </p> | ||
172 | <p>The <a class="el" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d</a> class is used in Irrlicht for three main purposes: 1) As a direction vector (most of the methods assume this). 2) As a position in 3d space (which is synonymous with a direction vector from the origin to this position). 3) To hold three Euler rotations, where X is pitch, Y is yaw and Z is roll. </p> | ||
173 | |||
174 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00022">22</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
175 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
176 | <a class="anchor" id="aed8875ec8b9653857ea87fdb8213daf1"></a><!-- doxytag: member="irr::core::vector3d::vector3d" ref="aed8875ec8b9653857ea87fdb8213daf1" args="()" --> | ||
177 | <div class="memitem"> | ||
178 | <div class="memproto"> | ||
179 | <div class="memtemplate"> | ||
180 | template<class T> </div> | ||
181 | <table class="memname"> | ||
182 | <tr> | ||
183 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a> </td> | ||
184 | <td>(</td> | ||
185 | <td class="paramname"></td><td>)</td> | ||
186 | <td><code> [inline]</code></td> | ||
187 | </tr> | ||
188 | </table> | ||
189 | </div> | ||
190 | <div class="memdoc"> | ||
191 | |||
192 | <p>Default constructor (null vector). </p> | ||
193 | |||
194 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00026">26</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
195 | |||
196 | </div> | ||
197 | </div> | ||
198 | <a class="anchor" id="a10687f6e33f8f795961a9b8f0a71c79b"></a><!-- doxytag: member="irr::core::vector3d::vector3d" ref="a10687f6e33f8f795961a9b8f0a71c79b" args="(T nx, T ny, T nz)" --> | ||
199 | <div class="memitem"> | ||
200 | <div class="memproto"> | ||
201 | <div class="memtemplate"> | ||
202 | template<class T> </div> | ||
203 | <table class="memname"> | ||
204 | <tr> | ||
205 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a> </td> | ||
206 | <td>(</td> | ||
207 | <td class="paramtype">T </td> | ||
208 | <td class="paramname"><em>nx</em>, </td> | ||
209 | </tr> | ||
210 | <tr> | ||
211 | <td class="paramkey"></td> | ||
212 | <td></td> | ||
213 | <td class="paramtype">T </td> | ||
214 | <td class="paramname"><em>ny</em>, </td> | ||
215 | </tr> | ||
216 | <tr> | ||
217 | <td class="paramkey"></td> | ||
218 | <td></td> | ||
219 | <td class="paramtype">T </td> | ||
220 | <td class="paramname"><em>nz</em> </td> | ||
221 | </tr> | ||
222 | <tr> | ||
223 | <td></td> | ||
224 | <td>)</td> | ||
225 | <td></td><td><code> [inline]</code></td> | ||
226 | </tr> | ||
227 | </table> | ||
228 | </div> | ||
229 | <div class="memdoc"> | ||
230 | |||
231 | <p>Constructor with three different values. </p> | ||
232 | |||
233 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00028">28</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
234 | |||
235 | </div> | ||
236 | </div> | ||
237 | <a class="anchor" id="a08093c70044d66a5c3cdec2522b868f2"></a><!-- doxytag: member="irr::core::vector3d::vector3d" ref="a08093c70044d66a5c3cdec2522b868f2" args="(T n)" --> | ||
238 | <div class="memitem"> | ||
239 | <div class="memproto"> | ||
240 | <div class="memtemplate"> | ||
241 | template<class T> </div> | ||
242 | <table class="memname"> | ||
243 | <tr> | ||
244 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a> </td> | ||
245 | <td>(</td> | ||
246 | <td class="paramtype">T </td> | ||
247 | <td class="paramname"><em>n</em></td><td>)</td> | ||
248 | <td><code> [inline, explicit]</code></td> | ||
249 | </tr> | ||
250 | </table> | ||
251 | </div> | ||
252 | <div class="memdoc"> | ||
253 | |||
254 | <p>Constructor with the same value for all elements. </p> | ||
255 | |||
256 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00030">30</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
257 | |||
258 | </div> | ||
259 | </div> | ||
260 | <a class="anchor" id="a039600f48ce75c9eca6c0899135e60d5"></a><!-- doxytag: member="irr::core::vector3d::vector3d" ref="a039600f48ce75c9eca6c0899135e60d5" args="(const vector3d< T > &other)" --> | ||
261 | <div class="memitem"> | ||
262 | <div class="memproto"> | ||
263 | <div class="memtemplate"> | ||
264 | template<class T> </div> | ||
265 | <table class="memname"> | ||
266 | <tr> | ||
267 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a> </td> | ||
268 | <td>(</td> | ||
269 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
270 | <td class="paramname"><em>other</em></td><td>)</td> | ||
271 | <td><code> [inline]</code></td> | ||
272 | </tr> | ||
273 | </table> | ||
274 | </div> | ||
275 | <div class="memdoc"> | ||
276 | |||
277 | <p>Copy constructor. </p> | ||
278 | |||
279 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00032">32</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
280 | |||
281 | </div> | ||
282 | </div> | ||
283 | <hr/><h2>Member Function Documentation</h2> | ||
284 | <a class="anchor" id="aa2470a12e1ef53f440c95df6249e9aa4"></a><!-- doxytag: member="irr::core::vector3d::crossProduct" ref="aa2470a12e1ef53f440c95df6249e9aa4" args="(const vector3d< T > &p) const " --> | ||
285 | <div class="memitem"> | ||
286 | <div class="memproto"> | ||
287 | <div class="memtemplate"> | ||
288 | template<class T> </div> | ||
289 | <table class="memname"> | ||
290 | <tr> | ||
291 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::crossProduct </td> | ||
292 | <td>(</td> | ||
293 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
294 | <td class="paramname"><em>p</em></td><td>)</td> | ||
295 | <td> const<code> [inline]</code></td> | ||
296 | </tr> | ||
297 | </table> | ||
298 | </div> | ||
299 | <div class="memdoc"> | ||
300 | |||
301 | <p>Calculates the cross product with another vector. </p> | ||
302 | <dl><dt><b>Parameters:</b></dt><dd> | ||
303 | <table class="params"> | ||
304 | <tr><td class="paramname">p</td><td>Vector to multiply with. </td></tr> | ||
305 | </table> | ||
306 | </dd> | ||
307 | </dl> | ||
308 | <dl class="return"><dt><b>Returns:</b></dt><dd>Crossproduct of this vector with p. </dd></dl> | ||
309 | |||
310 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00147">147</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
311 | |||
312 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="quaternion_8h_source.html#l00634">irr::core::quaternion::operator*()</a>, and <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>.</p> | ||
313 | |||
314 | </div> | ||
315 | </div> | ||
316 | <a class="anchor" id="a0b247d39047c0e51ff16d0118bb396ab"></a><!-- doxytag: member="irr::core::vector3d::dotProduct" ref="a0b247d39047c0e51ff16d0118bb396ab" args="(const vector3d< T > &other) const " --> | ||
317 | <div class="memitem"> | ||
318 | <div class="memproto"> | ||
319 | <div class="memtemplate"> | ||
320 | template<class T> </div> | ||
321 | <table class="memname"> | ||
322 | <tr> | ||
323 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::dotProduct </td> | ||
324 | <td>(</td> | ||
325 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
326 | <td class="paramname"><em>other</em></td><td>)</td> | ||
327 | <td> const<code> [inline]</code></td> | ||
328 | </tr> | ||
329 | </table> | ||
330 | </div> | ||
331 | <div class="memdoc"> | ||
332 | |||
333 | <p>Get the dot product with another vector. </p> | ||
334 | |||
335 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00125">125</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
336 | |||
337 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="line3d_8h_source.html#l00089">irr::core::line3d< T >::getClosestPoint()</a>, <a class="el" href="plane3d_8h_source.html#l00222">irr::core::plane3d< f32 >::getDistanceTo()</a>, <a class="el" href="triangle3d_8h_source.html#l00169">irr::core::triangle3d< T >::getIntersectionOfPlaneWithLine()</a>, <a class="el" href="line3d_8h_source.html#l00113">irr::core::line3d< T >::getIntersectionWithSphere()</a>, <a class="el" href="triangle3d_8h_source.html#l00210">irr::core::triangle3d< T >::isFrontFacing()</a>, <a class="el" href="triangle3d_8h_source.html#l00108">irr::core::triangle3d< T >::isPointInsideFast()</a>, <a class="el" href="plane3d_8h_source.html#l00149">irr::core::plane3d< f32 >::recalculateD()</a>, and <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>.</p> | ||
338 | |||
339 | </div> | ||
340 | </div> | ||
341 | <a class="anchor" id="a7aa9401191db377d67a6d5b160e4c38e"></a><!-- doxytag: member="irr::core::vector3d::equals" ref="a7aa9401191db377d67a6d5b160e4c38e" args="(const vector3d< T > &other, const T tolerance=(T) ROUNDING_ERROR_f32) const " --> | ||
342 | <div class="memitem"> | ||
343 | <div class="memproto"> | ||
344 | <div class="memtemplate"> | ||
345 | template<class T> </div> | ||
346 | <table class="memname"> | ||
347 | <tr> | ||
348 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::equals </td> | ||
349 | <td>(</td> | ||
350 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
351 | <td class="paramname"><em>other</em>, </td> | ||
352 | </tr> | ||
353 | <tr> | ||
354 | <td class="paramkey"></td> | ||
355 | <td></td> | ||
356 | <td class="paramtype">const T </td> | ||
357 | <td class="paramname"><em>tolerance</em> = <code>(T)<a class="el" href="namespaceirr_1_1core.html#a9514dd34463a30102ef8836915cf9c4c">ROUNDING_ERROR_f32</a></code> </td> | ||
358 | </tr> | ||
359 | <tr> | ||
360 | <td></td> | ||
361 | <td>)</td> | ||
362 | <td></td><td> const<code> [inline]</code></td> | ||
363 | </tr> | ||
364 | </table> | ||
365 | </div> | ||
366 | <div class="memdoc"> | ||
367 | |||
368 | <p>returns if this vector equals the other one, taking floating point rounding errors into account </p> | ||
369 | |||
370 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00106">106</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
371 | |||
372 | <p>Referenced by <a class="el" href="vector3d_8h_source.html#l00106">irr::core::vector3d< f32 >::equals()</a>, <a class="el" href="vector3d_8h_source.html#l00098">irr::core::vector3d< f32 >::operator!=()</a>, <a class="el" href="vector3d_8h_source.html#l00077">irr::core::vector3d< f32 >::operator<()</a>, <a class="el" href="vector3d_8h_source.html#l00061">irr::core::vector3d< f32 >::operator<=()</a>, <a class="el" href="vector3d_8h_source.html#l00093">irr::core::vector3d< f32 >::operator==()</a>, <a class="el" href="vector3d_8h_source.html#l00085">irr::core::vector3d< f32 >::operator>()</a>, and <a class="el" href="vector3d_8h_source.html#l00069">irr::core::vector3d< f32 >::operator>=()</a>.</p> | ||
373 | |||
374 | </div> | ||
375 | </div> | ||
376 | <a class="anchor" id="a543aaa4376afd2b5321228fa71540329"></a><!-- doxytag: member="irr::core::vector3d::getAs3Values" ref="a543aaa4376afd2b5321228fa71540329" args="(T *array) const " --> | ||
377 | <div class="memitem"> | ||
378 | <div class="memproto"> | ||
379 | <div class="memtemplate"> | ||
380 | template<class T> </div> | ||
381 | <table class="memname"> | ||
382 | <tr> | ||
383 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getAs3Values </td> | ||
384 | <td>(</td> | ||
385 | <td class="paramtype">T * </td> | ||
386 | <td class="paramname"><em>array</em></td><td>)</td> | ||
387 | <td> const<code> [inline]</code></td> | ||
388 | </tr> | ||
389 | </table> | ||
390 | </div> | ||
391 | <div class="memdoc"> | ||
392 | |||
393 | <p>Fills an array of 3 values with the vector data (usually floats). </p> | ||
394 | <p>Useful for setting in shader constants for example. </p> | ||
395 | |||
396 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00399">399</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
397 | |||
398 | </div> | ||
399 | </div> | ||
400 | <a class="anchor" id="a357c8d00022e04a68fb20b24f9eb34ce"></a><!-- doxytag: member="irr::core::vector3d::getAs4Values" ref="a357c8d00022e04a68fb20b24f9eb34ce" args="(T *array) const " --> | ||
401 | <div class="memitem"> | ||
402 | <div class="memproto"> | ||
403 | <div class="memtemplate"> | ||
404 | template<class T> </div> | ||
405 | <table class="memname"> | ||
406 | <tr> | ||
407 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getAs4Values </td> | ||
408 | <td>(</td> | ||
409 | <td class="paramtype">T * </td> | ||
410 | <td class="paramname"><em>array</em></td><td>)</td> | ||
411 | <td> const<code> [inline]</code></td> | ||
412 | </tr> | ||
413 | </table> | ||
414 | </div> | ||
415 | <div class="memdoc"> | ||
416 | |||
417 | <p>Fills an array of 4 values with the vector data (usually floats). </p> | ||
418 | <p>Useful for setting in shader constants for example. The fourth value will always be 0. </p> | ||
419 | |||
420 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00389">389</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
421 | |||
422 | </div> | ||
423 | </div> | ||
424 | <a class="anchor" id="afd81bdc7d165f0e2082155127c3005e2"></a><!-- doxytag: member="irr::core::vector3d::getDistanceFrom" ref="afd81bdc7d165f0e2082155127c3005e2" args="(const vector3d< T > &other) const " --> | ||
425 | <div class="memitem"> | ||
426 | <div class="memproto"> | ||
427 | <div class="memtemplate"> | ||
428 | template<class T> </div> | ||
429 | <table class="memname"> | ||
430 | <tr> | ||
431 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getDistanceFrom </td> | ||
432 | <td>(</td> | ||
433 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
434 | <td class="paramname"><em>other</em></td><td>)</td> | ||
435 | <td> const<code> [inline]</code></td> | ||
436 | </tr> | ||
437 | </table> | ||
438 | </div> | ||
439 | <div class="memdoc"> | ||
440 | |||
441 | <p>Get distance from another point. </p> | ||
442 | <p>Here, the vector is interpreted as point in 3 dimensional space. </p> | ||
443 | |||
444 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00132">132</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
445 | |||
446 | <p>Referenced by <a class="el" href="triangle3d_8h_source.html#l00068">irr::core::triangle3d< T >::closestPointOnTriangle()</a>.</p> | ||
447 | |||
448 | </div> | ||
449 | </div> | ||
450 | <a class="anchor" id="afe85829b53b8ea449a4b51a2fb14c7be"></a><!-- doxytag: member="irr::core::vector3d::getDistanceFromSQ" ref="afe85829b53b8ea449a4b51a2fb14c7be" args="(const vector3d< T > &other) const " --> | ||
451 | <div class="memitem"> | ||
452 | <div class="memproto"> | ||
453 | <div class="memtemplate"> | ||
454 | template<class T> </div> | ||
455 | <table class="memname"> | ||
456 | <tr> | ||
457 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getDistanceFromSQ </td> | ||
458 | <td>(</td> | ||
459 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
460 | <td class="paramname"><em>other</em></td><td>)</td> | ||
461 | <td> const<code> [inline]</code></td> | ||
462 | </tr> | ||
463 | </table> | ||
464 | </div> | ||
465 | <div class="memdoc"> | ||
466 | |||
467 | <p>Returns squared distance from another point. </p> | ||
468 | <p>Here, the vector is interpreted as point in 3 dimensional space. </p> | ||
469 | |||
470 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00139">139</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
471 | |||
472 | <p>Referenced by <a class="el" href="vector3d_8h_source.html#l00157">irr::core::vector3d< f32 >::isBetweenPoints()</a>.</p> | ||
473 | |||
474 | </div> | ||
475 | </div> | ||
476 | <a class="anchor" id="a9485549addf9967247d3431c7746fbda"></a><!-- doxytag: member="irr::core::vector3d::getHorizontalAngle" ref="a9485549addf9967247d3431c7746fbda" args="() const " --> | ||
477 | <div class="memitem"> | ||
478 | <div class="memproto"> | ||
479 | <div class="memtemplate"> | ||
480 | template<class T> </div> | ||
481 | <table class="memname"> | ||
482 | <tr> | ||
483 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getHorizontalAngle </td> | ||
484 | <td>(</td> | ||
485 | <td class="paramname"></td><td>)</td> | ||
486 | <td> const<code> [inline]</code></td> | ||
487 | </tr> | ||
488 | </table> | ||
489 | </div> | ||
490 | <div class="memdoc"> | ||
491 | |||
492 | <p>Get the rotations that would make a (0,0,1) direction vector point in the same direction as this direction vector. </p> | ||
493 | <p>Thanks to Arras on the Irrlicht forums for this method. This utility method is very useful for orienting scene nodes towards specific targets. For example, if this vector represents the difference between two scene nodes, then applying the result of <a class="el" href="classirr_1_1core_1_1vector3d.html#a9485549addf9967247d3431c7746fbda" title="Get the rotations that would make a (0,0,1) direction vector point in the same direction as this dire...">getHorizontalAngle()</a> to one scene node will point it at the other one. Example code: Where target and seeker are of type ISceneNode* const vector3df toTarget(target->getAbsolutePosition() - seeker->getAbsolutePosition()); const vector3df requiredRotation = toTarget.getHorizontalAngle(); seeker->setRotation(requiredRotation);</p> | ||
494 | <dl class="return"><dt><b>Returns:</b></dt><dd>A rotation vector containing the X (pitch) and Y (raw) rotations (in degrees) that when applied to a +Z (e.g. 0, 0, 1) direction vector would make it point in the same direction as this vector. The Z (roll) rotation is always 0, since two Euler rotations are sufficient to point in any given direction. </dd></dl> | ||
495 | |||
496 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00301">301</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
497 | |||
498 | </div> | ||
499 | </div> | ||
500 | <a class="anchor" id="ab0ad2c732121c2b6e36c2c2e9ed715fd"></a><!-- doxytag: member="irr::core::vector3d::getInterpolated" ref="ab0ad2c732121c2b6e36c2c2e9ed715fd" args="(const vector3d< T > &other, f64 d) const " --> | ||
501 | <div class="memitem"> | ||
502 | <div class="memproto"> | ||
503 | <div class="memtemplate"> | ||
504 | template<class T> </div> | ||
505 | <table class="memname"> | ||
506 | <tr> | ||
507 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getInterpolated </td> | ||
508 | <td>(</td> | ||
509 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
510 | <td class="paramname"><em>other</em>, </td> | ||
511 | </tr> | ||
512 | <tr> | ||
513 | <td class="paramkey"></td> | ||
514 | <td></td> | ||
515 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
516 | <td class="paramname"><em>d</em> </td> | ||
517 | </tr> | ||
518 | <tr> | ||
519 | <td></td> | ||
520 | <td>)</td> | ||
521 | <td></td><td> const<code> [inline]</code></td> | ||
522 | </tr> | ||
523 | </table> | ||
524 | </div> | ||
525 | <div class="memdoc"> | ||
526 | |||
527 | <p>Creates an interpolated vector between this vector and another vector. </p> | ||
528 | <dl><dt><b>Parameters:</b></dt><dd> | ||
529 | <table class="params"> | ||
530 | <tr><td class="paramname">other</td><td>The other vector to interpolate with. </td></tr> | ||
531 | <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all the other vector) and 1.0f (all this vector). Note that this is the opposite direction of interpolation to <a class="el" href="classirr_1_1core_1_1vector3d.html#adb749559ee0941687d4692941146a388" title="Creates a quadratically interpolated vector between this and two other vectors.">getInterpolated_quadratic()</a> </td></tr> | ||
532 | </table> | ||
533 | </dd> | ||
534 | </dl> | ||
535 | <dl class="return"><dt><b>Returns:</b></dt><dd>An interpolated vector. This vector is not modified. </dd></dl> | ||
536 | |||
537 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00247">247</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
538 | |||
539 | <p>Referenced by <a class="el" href="_s3_d_vertex_8h_source.html#l00093">irr::video::S3DVertex::getInterpolated()</a>, <a class="el" href="_s3_d_vertex_8h_source.html#l00171">irr::video::S3DVertex2TCoords::getInterpolated()</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00242">irr::video::S3DVertexTangents::getInterpolated()</a>.</p> | ||
540 | |||
541 | </div> | ||
542 | </div> | ||
543 | <a class="anchor" id="adb749559ee0941687d4692941146a388"></a><!-- doxytag: member="irr::core::vector3d::getInterpolated_quadratic" ref="adb749559ee0941687d4692941146a388" args="(const vector3d< T > &v2, const vector3d< T > &v3, f64 d) const " --> | ||
544 | <div class="memitem"> | ||
545 | <div class="memproto"> | ||
546 | <div class="memtemplate"> | ||
547 | template<class T> </div> | ||
548 | <table class="memname"> | ||
549 | <tr> | ||
550 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getInterpolated_quadratic </td> | ||
551 | <td>(</td> | ||
552 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
553 | <td class="paramname"><em>v2</em>, </td> | ||
554 | </tr> | ||
555 | <tr> | ||
556 | <td class="paramkey"></td> | ||
557 | <td></td> | ||
558 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
559 | <td class="paramname"><em>v3</em>, </td> | ||
560 | </tr> | ||
561 | <tr> | ||
562 | <td class="paramkey"></td> | ||
563 | <td></td> | ||
564 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
565 | <td class="paramname"><em>d</em> </td> | ||
566 | </tr> | ||
567 | <tr> | ||
568 | <td></td> | ||
569 | <td>)</td> | ||
570 | <td></td><td> const<code> [inline]</code></td> | ||
571 | </tr> | ||
572 | </table> | ||
573 | </div> | ||
574 | <div class="memdoc"> | ||
575 | |||
576 | <p>Creates a quadratically interpolated vector between this and two other vectors. </p> | ||
577 | <dl><dt><b>Parameters:</b></dt><dd> | ||
578 | <table class="params"> | ||
579 | <tr><td class="paramname">v2</td><td>Second vector to interpolate with. </td></tr> | ||
580 | <tr><td class="paramname">v3</td><td>Third vector to interpolate with (maximum at 1.0f) </td></tr> | ||
581 | <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all this vector) and 1.0f (all the 3rd vector). Note that this is the opposite direction of interpolation to <a class="el" href="classirr_1_1core_1_1vector3d.html#ab0ad2c732121c2b6e36c2c2e9ed715fd" title="Creates an interpolated vector between this vector and another vector.">getInterpolated()</a> and <a class="el" href="classirr_1_1core_1_1vector3d.html#a32a888e0f608a20deee98c794a321c4c" title="Sets this vector to the linearly interpolated vector between a and b.">interpolate()</a> </td></tr> | ||
582 | </table> | ||
583 | </dd> | ||
584 | </dl> | ||
585 | <dl class="return"><dt><b>Returns:</b></dt><dd>An interpolated vector. This vector is not modified. </dd></dl> | ||
586 | |||
587 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00259">259</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
588 | |||
589 | </div> | ||
590 | </div> | ||
591 | <a class="anchor" id="ab0f95138bd31d82b5486237c8e49a2d5"></a><!-- doxytag: member="irr::core::vector3d::getLength" ref="ab0f95138bd31d82b5486237c8e49a2d5" args="() const " --> | ||
592 | <div class="memitem"> | ||
593 | <div class="memproto"> | ||
594 | <div class="memtemplate"> | ||
595 | template<class T> </div> | ||
596 | <table class="memname"> | ||
597 | <tr> | ||
598 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getLength </td> | ||
599 | <td>(</td> | ||
600 | <td class="paramname"></td><td>)</td> | ||
601 | <td> const<code> [inline]</code></td> | ||
602 | </tr> | ||
603 | </table> | ||
604 | </div> | ||
605 | <div class="memdoc"> | ||
606 | |||
607 | <p>Get length of the vector. </p> | ||
608 | |||
609 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00117">117</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
610 | |||
611 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00162">irr::core::plane3d< f32 >::existsIntersection()</a>, <a class="el" href="line3d_8h_source.html#l00089">irr::core::line3d< T >::getClosestPoint()</a>, <a class="el" href="vector3d_8h_source.html#l00132">irr::core::vector3d< f32 >::getDistanceFrom()</a>, <a class="el" href="line3d_8h_source.html#l00113">irr::core::line3d< T >::getIntersectionWithSphere()</a>, and <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>.</p> | ||
612 | |||
613 | </div> | ||
614 | </div> | ||
615 | <a class="anchor" id="ad72df96d0e280b0e6383be273f94f6ae"></a><!-- doxytag: member="irr::core::vector3d::getLengthSQ" ref="ad72df96d0e280b0e6383be273f94f6ae" args="() const " --> | ||
616 | <div class="memitem"> | ||
617 | <div class="memproto"> | ||
618 | <div class="memtemplate"> | ||
619 | template<class T> </div> | ||
620 | <table class="memname"> | ||
621 | <tr> | ||
622 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getLengthSQ </td> | ||
623 | <td>(</td> | ||
624 | <td class="paramname"></td><td>)</td> | ||
625 | <td> const<code> [inline]</code></td> | ||
626 | </tr> | ||
627 | </table> | ||
628 | </div> | ||
629 | <div class="memdoc"> | ||
630 | |||
631 | <p>Get squared length of the vector. </p> | ||
632 | <p>This is useful because it is much faster than <a class="el" href="classirr_1_1core_1_1vector3d.html#ab0f95138bd31d82b5486237c8e49a2d5" title="Get length of the vector.">getLength()</a>. </p> | ||
633 | <dl class="return"><dt><b>Returns:</b></dt><dd>Squared length of the vector. </dd></dl> | ||
634 | |||
635 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00122">122</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
636 | |||
637 | <p>Referenced by <a class="el" href="vector3d_8h_source.html#l00139">irr::core::vector3d< f32 >::getDistanceFromSQ()</a>, and <a class="el" href="vector3d_8h_source.html#l00157">irr::core::vector3d< f32 >::isBetweenPoints()</a>.</p> | ||
638 | |||
639 | </div> | ||
640 | </div> | ||
641 | <a class="anchor" id="aab6d3c2dc082d8142c7ac4da8625f93a"></a><!-- doxytag: member="irr::core::vector3d::getSphericalCoordinateAngles" ref="aab6d3c2dc082d8142c7ac4da8625f93a" args="() const " --> | ||
642 | <div class="memitem"> | ||
643 | <div class="memproto"> | ||
644 | <div class="memtemplate"> | ||
645 | template<class T> </div> | ||
646 | <table class="memname"> | ||
647 | <tr> | ||
648 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::getSphericalCoordinateAngles </td> | ||
649 | <td>(</td> | ||
650 | <td class="paramname"></td><td>)</td> | ||
651 | <td> const<code> [inline]</code></td> | ||
652 | </tr> | ||
653 | </table> | ||
654 | </div> | ||
655 | <div class="memdoc"> | ||
656 | |||
657 | <p>Get the spherical coordinate angles. </p> | ||
658 | <p>This returns Euler degrees for the point represented by this vector. The calculation assumes the pole at (0,1,0) and returns the angles in X and Y. </p> | ||
659 | |||
660 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00330">330</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
661 | |||
662 | </div> | ||
663 | </div> | ||
664 | <a class="anchor" id="aa11de50e7f575c6c282de66417279444"></a><!-- doxytag: member="irr::core::vector3d::getSphericalCoordinateAngles" ref="aa11de50e7f575c6c282de66417279444" args="() const" --> | ||
665 | <div class="memitem"> | ||
666 | <div class="memproto"> | ||
667 | <div class="memtemplate"> | ||
668 | template<> </div> | ||
669 | <table class="memname"> | ||
670 | <tr> | ||
671 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> >::getSphericalCoordinateAngles </td> | ||
672 | <td>(</td> | ||
673 | <td class="paramname"></td><td>)</td> | ||
674 | <td> const<code> [inline]</code></td> | ||
675 | </tr> | ||
676 | </table> | ||
677 | </div> | ||
678 | <div class="memdoc"> | ||
679 | |||
680 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00425">425</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
681 | |||
682 | <p>References <a class="el" href="irr_math_8h_source.html#l00083">irr::core::RADTODEG64</a>, <a class="el" href="irr_math_8h_source.html#l00497">irr::core::reciprocal_squareroot()</a>, <a class="el" href="irr_math_8h_source.html#l00680">irr::core::round32()</a>, <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d< T >::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d< T >::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d< T >::Z</a>.</p> | ||
683 | |||
684 | </div> | ||
685 | </div> | ||
686 | <a class="anchor" id="a32a888e0f608a20deee98c794a321c4c"></a><!-- doxytag: member="irr::core::vector3d::interpolate" ref="a32a888e0f608a20deee98c794a321c4c" args="(const vector3d< T > &a, const vector3d< T > &b, f64 d)" --> | ||
687 | <div class="memitem"> | ||
688 | <div class="memproto"> | ||
689 | <div class="memtemplate"> | ||
690 | template<class T> </div> | ||
691 | <table class="memname"> | ||
692 | <tr> | ||
693 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::interpolate </td> | ||
694 | <td>(</td> | ||
695 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
696 | <td class="paramname"><em>a</em>, </td> | ||
697 | </tr> | ||
698 | <tr> | ||
699 | <td class="paramkey"></td> | ||
700 | <td></td> | ||
701 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
702 | <td class="paramname"><em>b</em>, </td> | ||
703 | </tr> | ||
704 | <tr> | ||
705 | <td class="paramkey"></td> | ||
706 | <td></td> | ||
707 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
708 | <td class="paramname"><em>d</em> </td> | ||
709 | </tr> | ||
710 | <tr> | ||
711 | <td></td> | ||
712 | <td>)</td> | ||
713 | <td></td><td><code> [inline]</code></td> | ||
714 | </tr> | ||
715 | </table> | ||
716 | </div> | ||
717 | <div class="memdoc"> | ||
718 | |||
719 | <p>Sets this vector to the linearly interpolated vector between a and b. </p> | ||
720 | <dl><dt><b>Parameters:</b></dt><dd> | ||
721 | <table class="params"> | ||
722 | <tr><td class="paramname">a</td><td>first vector to interpolate with, maximum at 1.0f </td></tr> | ||
723 | <tr><td class="paramname">b</td><td>second vector to interpolate with, maximum at 0.0f </td></tr> | ||
724 | <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all vector b) and 1.0f (all vector a) Note that this is the opposite direction of interpolation to <a class="el" href="classirr_1_1core_1_1vector3d.html#adb749559ee0941687d4692941146a388" title="Creates a quadratically interpolated vector between this and two other vectors.">getInterpolated_quadratic()</a> </td></tr> | ||
725 | </table> | ||
726 | </dd> | ||
727 | </dl> | ||
728 | |||
729 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00278">278</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
730 | |||
731 | </div> | ||
732 | </div> | ||
733 | <a class="anchor" id="a55a10e03bc09f87b95fc81ea0d508722"></a><!-- doxytag: member="irr::core::vector3d::invert" ref="a55a10e03bc09f87b95fc81ea0d508722" args="()" --> | ||
734 | <div class="memitem"> | ||
735 | <div class="memproto"> | ||
736 | <div class="memtemplate"> | ||
737 | template<class T> </div> | ||
738 | <table class="memname"> | ||
739 | <tr> | ||
740 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::invert </td> | ||
741 | <td>(</td> | ||
742 | <td class="paramname"></td><td>)</td> | ||
743 | <td><code> [inline]</code></td> | ||
744 | </tr> | ||
745 | </table> | ||
746 | </div> | ||
747 | <div class="memdoc"> | ||
748 | |||
749 | <p>Inverts the vector. </p> | ||
750 | |||
751 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00189">189</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
752 | |||
753 | </div> | ||
754 | </div> | ||
755 | <a class="anchor" id="ace05ee3b68b47c2ec6baff0d9d64de98"></a><!-- doxytag: member="irr::core::vector3d::isBetweenPoints" ref="ace05ee3b68b47c2ec6baff0d9d64de98" args="(const vector3d< T > &begin, const vector3d< T > &end) const " --> | ||
756 | <div class="memitem"> | ||
757 | <div class="memproto"> | ||
758 | <div class="memtemplate"> | ||
759 | template<class T> </div> | ||
760 | <table class="memname"> | ||
761 | <tr> | ||
762 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::isBetweenPoints </td> | ||
763 | <td>(</td> | ||
764 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
765 | <td class="paramname"><em>begin</em>, </td> | ||
766 | </tr> | ||
767 | <tr> | ||
768 | <td class="paramkey"></td> | ||
769 | <td></td> | ||
770 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
771 | <td class="paramname"><em>end</em> </td> | ||
772 | </tr> | ||
773 | <tr> | ||
774 | <td></td> | ||
775 | <td>)</td> | ||
776 | <td></td><td> const<code> [inline]</code></td> | ||
777 | </tr> | ||
778 | </table> | ||
779 | </div> | ||
780 | <div class="memdoc"> | ||
781 | |||
782 | <p>Returns if this vector interpreted as a point is on a line between two other points. </p> | ||
783 | <p>It is assumed that the point is on the line. </p> | ||
784 | <dl><dt><b>Parameters:</b></dt><dd> | ||
785 | <table class="params"> | ||
786 | <tr><td class="paramname">begin</td><td>Beginning vector to compare between. </td></tr> | ||
787 | <tr><td class="paramname">end</td><td>Ending vector to compare between. </td></tr> | ||
788 | </table> | ||
789 | </dd> | ||
790 | </dl> | ||
791 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if this vector is between begin and end, false if not. </dd></dl> | ||
792 | |||
793 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00157">157</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
794 | |||
795 | <p>Referenced by <a class="el" href="plane3d_8h_source.html#l00121">irr::core::plane3d< f32 >::getIntersectionWithLimitedLine()</a>, <a class="el" href="triangle3d_8h_source.html#l00136">irr::core::triangle3d< T >::getIntersectionWithLimitedLine()</a>, and <a class="el" href="line3d_8h_source.html#l00081">irr::core::line3d< T >::isPointBetweenStartAndEnd()</a>.</p> | ||
796 | |||
797 | </div> | ||
798 | </div> | ||
799 | <a class="anchor" id="a84a1861464ef70e6965c146732103c09"></a><!-- doxytag: member="irr::core::vector3d::normalize" ref="a84a1861464ef70e6965c146732103c09" args="()" --> | ||
800 | <div class="memitem"> | ||
801 | <div class="memproto"> | ||
802 | <div class="memtemplate"> | ||
803 | template<class T> </div> | ||
804 | <table class="memname"> | ||
805 | <tr> | ||
806 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::normalize </td> | ||
807 | <td>(</td> | ||
808 | <td class="paramname"></td><td>)</td> | ||
809 | <td><code> [inline]</code></td> | ||
810 | </tr> | ||
811 | </table> | ||
812 | </div> | ||
813 | <div class="memdoc"> | ||
814 | |||
815 | <p>Normalizes the vector. </p> | ||
816 | <p>In case of the 0 vector the result is still 0, otherwise the length of the vector will be 1. </p> | ||
817 | <dl class="return"><dt><b>Returns:</b></dt><dd>Reference to this vector after normalization. </dd></dl> | ||
818 | |||
819 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00168">168</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
820 | |||
821 | <p>Referenced by <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>, and <a class="el" href="vector3d_8h_source.html#l00182">irr::core::vector3d< f32 >::setLength()</a>.</p> | ||
822 | |||
823 | </div> | ||
824 | </div> | ||
825 | <a class="anchor" id="a125c9bfa0c551f3543f1466f1a670c51"></a><!-- doxytag: member="irr::core::vector3d::operator!=" ref="a125c9bfa0c551f3543f1466f1a670c51" args="(const vector3d< T > &other) const " --> | ||
826 | <div class="memitem"> | ||
827 | <div class="memproto"> | ||
828 | <div class="memtemplate"> | ||
829 | template<class T> </div> | ||
830 | <table class="memname"> | ||
831 | <tr> | ||
832 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator!= </td> | ||
833 | <td>(</td> | ||
834 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
835 | <td class="paramname"><em>other</em></td><td>)</td> | ||
836 | <td> const<code> [inline]</code></td> | ||
837 | </tr> | ||
838 | </table> | ||
839 | </div> | ||
840 | <div class="memdoc"> | ||
841 | |||
842 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00098">98</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
843 | |||
844 | </div> | ||
845 | </div> | ||
846 | <a class="anchor" id="aab7ded0a282f23cdc75533873f41dee5"></a><!-- doxytag: member="irr::core::vector3d::operator*" ref="aab7ded0a282f23cdc75533873f41dee5" args="(const vector3d< T > &other) const " --> | ||
847 | <div class="memitem"> | ||
848 | <div class="memproto"> | ||
849 | <div class="memtemplate"> | ||
850 | template<class T> </div> | ||
851 | <table class="memname"> | ||
852 | <tr> | ||
853 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator* </td> | ||
854 | <td>(</td> | ||
855 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
856 | <td class="paramname"><em>other</em></td><td>)</td> | ||
857 | <td> const<code> [inline]</code></td> | ||
858 | </tr> | ||
859 | </table> | ||
860 | </div> | ||
861 | <div class="memdoc"> | ||
862 | |||
863 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00050">50</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
864 | |||
865 | </div> | ||
866 | </div> | ||
867 | <a class="anchor" id="ae8ecbd713bd488d45eab406f34679c1c"></a><!-- doxytag: member="irr::core::vector3d::operator*" ref="ae8ecbd713bd488d45eab406f34679c1c" args="(const T v) const " --> | ||
868 | <div class="memitem"> | ||
869 | <div class="memproto"> | ||
870 | <div class="memtemplate"> | ||
871 | template<class T> </div> | ||
872 | <table class="memname"> | ||
873 | <tr> | ||
874 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator* </td> | ||
875 | <td>(</td> | ||
876 | <td class="paramtype">const T </td> | ||
877 | <td class="paramname"><em>v</em></td><td>)</td> | ||
878 | <td> const<code> [inline]</code></td> | ||
879 | </tr> | ||
880 | </table> | ||
881 | </div> | ||
882 | <div class="memdoc"> | ||
883 | |||
884 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00052">52</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
885 | |||
886 | </div> | ||
887 | </div> | ||
888 | <a class="anchor" id="a04e89643ddbd6e17ffceffd64e740760"></a><!-- doxytag: member="irr::core::vector3d::operator*=" ref="a04e89643ddbd6e17ffceffd64e740760" args="(const vector3d< T > &other)" --> | ||
889 | <div class="memitem"> | ||
890 | <div class="memproto"> | ||
891 | <div class="memtemplate"> | ||
892 | template<class T> </div> | ||
893 | <table class="memname"> | ||
894 | <tr> | ||
895 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator*= </td> | ||
896 | <td>(</td> | ||
897 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
898 | <td class="paramname"><em>other</em></td><td>)</td> | ||
899 | <td><code> [inline]</code></td> | ||
900 | </tr> | ||
901 | </table> | ||
902 | </div> | ||
903 | <div class="memdoc"> | ||
904 | |||
905 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00051">51</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
906 | |||
907 | </div> | ||
908 | </div> | ||
909 | <a class="anchor" id="a588d293d4d3ebd95240a9d2b46072233"></a><!-- doxytag: member="irr::core::vector3d::operator*=" ref="a588d293d4d3ebd95240a9d2b46072233" args="(const T v)" --> | ||
910 | <div class="memitem"> | ||
911 | <div class="memproto"> | ||
912 | <div class="memtemplate"> | ||
913 | template<class T> </div> | ||
914 | <table class="memname"> | ||
915 | <tr> | ||
916 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator*= </td> | ||
917 | <td>(</td> | ||
918 | <td class="paramtype">const T </td> | ||
919 | <td class="paramname"><em>v</em></td><td>)</td> | ||
920 | <td><code> [inline]</code></td> | ||
921 | </tr> | ||
922 | </table> | ||
923 | </div> | ||
924 | <div class="memdoc"> | ||
925 | |||
926 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00053">53</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
927 | |||
928 | </div> | ||
929 | </div> | ||
930 | <a class="anchor" id="a19d8592169d08d461a80d0e3c5a27b7f"></a><!-- doxytag: member="irr::core::vector3d::operator+" ref="a19d8592169d08d461a80d0e3c5a27b7f" args="(const vector3d< T > &other) const " --> | ||
931 | <div class="memitem"> | ||
932 | <div class="memproto"> | ||
933 | <div class="memtemplate"> | ||
934 | template<class T> </div> | ||
935 | <table class="memname"> | ||
936 | <tr> | ||
937 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator+ </td> | ||
938 | <td>(</td> | ||
939 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
940 | <td class="paramname"><em>other</em></td><td>)</td> | ||
941 | <td> const<code> [inline]</code></td> | ||
942 | </tr> | ||
943 | </table> | ||
944 | </div> | ||
945 | <div class="memdoc"> | ||
946 | |||
947 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00040">40</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
948 | |||
949 | </div> | ||
950 | </div> | ||
951 | <a class="anchor" id="a676c089849a119d557e3fd32eb47d2a8"></a><!-- doxytag: member="irr::core::vector3d::operator+" ref="a676c089849a119d557e3fd32eb47d2a8" args="(const T val) const " --> | ||
952 | <div class="memitem"> | ||
953 | <div class="memproto"> | ||
954 | <div class="memtemplate"> | ||
955 | template<class T> </div> | ||
956 | <table class="memname"> | ||
957 | <tr> | ||
958 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator+ </td> | ||
959 | <td>(</td> | ||
960 | <td class="paramtype">const T </td> | ||
961 | <td class="paramname"><em>val</em></td><td>)</td> | ||
962 | <td> const<code> [inline]</code></td> | ||
963 | </tr> | ||
964 | </table> | ||
965 | </div> | ||
966 | <div class="memdoc"> | ||
967 | |||
968 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00042">42</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
969 | |||
970 | </div> | ||
971 | </div> | ||
972 | <a class="anchor" id="a37360dbe7e5542e1cd3cdb768f250922"></a><!-- doxytag: member="irr::core::vector3d::operator+=" ref="a37360dbe7e5542e1cd3cdb768f250922" args="(const vector3d< T > &other)" --> | ||
973 | <div class="memitem"> | ||
974 | <div class="memproto"> | ||
975 | <div class="memtemplate"> | ||
976 | template<class T> </div> | ||
977 | <table class="memname"> | ||
978 | <tr> | ||
979 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator+= </td> | ||
980 | <td>(</td> | ||
981 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
982 | <td class="paramname"><em>other</em></td><td>)</td> | ||
983 | <td><code> [inline]</code></td> | ||
984 | </tr> | ||
985 | </table> | ||
986 | </div> | ||
987 | <div class="memdoc"> | ||
988 | |||
989 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00041">41</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
990 | |||
991 | </div> | ||
992 | </div> | ||
993 | <a class="anchor" id="a90dd07738795890b90fbf4b133cd7930"></a><!-- doxytag: member="irr::core::vector3d::operator+=" ref="a90dd07738795890b90fbf4b133cd7930" args="(const T val)" --> | ||
994 | <div class="memitem"> | ||
995 | <div class="memproto"> | ||
996 | <div class="memtemplate"> | ||
997 | template<class T> </div> | ||
998 | <table class="memname"> | ||
999 | <tr> | ||
1000 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator+= </td> | ||
1001 | <td>(</td> | ||
1002 | <td class="paramtype">const T </td> | ||
1003 | <td class="paramname"><em>val</em></td><td>)</td> | ||
1004 | <td><code> [inline]</code></td> | ||
1005 | </tr> | ||
1006 | </table> | ||
1007 | </div> | ||
1008 | <div class="memdoc"> | ||
1009 | |||
1010 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00043">43</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1011 | |||
1012 | </div> | ||
1013 | </div> | ||
1014 | <a class="anchor" id="acc66a64d3e7ee0b722d155c4e987ecbe"></a><!-- doxytag: member="irr::core::vector3d::operator-" ref="acc66a64d3e7ee0b722d155c4e987ecbe" args="() const " --> | ||
1015 | <div class="memitem"> | ||
1016 | <div class="memproto"> | ||
1017 | <div class="memtemplate"> | ||
1018 | template<class T> </div> | ||
1019 | <table class="memname"> | ||
1020 | <tr> | ||
1021 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator- </td> | ||
1022 | <td>(</td> | ||
1023 | <td class="paramname"></td><td>)</td> | ||
1024 | <td> const<code> [inline]</code></td> | ||
1025 | </tr> | ||
1026 | </table> | ||
1027 | </div> | ||
1028 | <div class="memdoc"> | ||
1029 | |||
1030 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00036">36</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1031 | |||
1032 | </div> | ||
1033 | </div> | ||
1034 | <a class="anchor" id="ae17fdfbc02988aff60dfde5456c9032d"></a><!-- doxytag: member="irr::core::vector3d::operator-" ref="ae17fdfbc02988aff60dfde5456c9032d" args="(const vector3d< T > &other) const " --> | ||
1035 | <div class="memitem"> | ||
1036 | <div class="memproto"> | ||
1037 | <div class="memtemplate"> | ||
1038 | template<class T> </div> | ||
1039 | <table class="memname"> | ||
1040 | <tr> | ||
1041 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator- </td> | ||
1042 | <td>(</td> | ||
1043 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1044 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1045 | <td> const<code> [inline]</code></td> | ||
1046 | </tr> | ||
1047 | </table> | ||
1048 | </div> | ||
1049 | <div class="memdoc"> | ||
1050 | |||
1051 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00045">45</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1052 | |||
1053 | </div> | ||
1054 | </div> | ||
1055 | <a class="anchor" id="a4c9b7154c6d582cd49039bd4f61c48cb"></a><!-- doxytag: member="irr::core::vector3d::operator-" ref="a4c9b7154c6d582cd49039bd4f61c48cb" args="(const T val) const " --> | ||
1056 | <div class="memitem"> | ||
1057 | <div class="memproto"> | ||
1058 | <div class="memtemplate"> | ||
1059 | template<class T> </div> | ||
1060 | <table class="memname"> | ||
1061 | <tr> | ||
1062 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator- </td> | ||
1063 | <td>(</td> | ||
1064 | <td class="paramtype">const T </td> | ||
1065 | <td class="paramname"><em>val</em></td><td>)</td> | ||
1066 | <td> const<code> [inline]</code></td> | ||
1067 | </tr> | ||
1068 | </table> | ||
1069 | </div> | ||
1070 | <div class="memdoc"> | ||
1071 | |||
1072 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00047">47</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1073 | |||
1074 | </div> | ||
1075 | </div> | ||
1076 | <a class="anchor" id="a91a4a39544340b3d02e81659f1a0b7d2"></a><!-- doxytag: member="irr::core::vector3d::operator-=" ref="a91a4a39544340b3d02e81659f1a0b7d2" args="(const vector3d< T > &other)" --> | ||
1077 | <div class="memitem"> | ||
1078 | <div class="memproto"> | ||
1079 | <div class="memtemplate"> | ||
1080 | template<class T> </div> | ||
1081 | <table class="memname"> | ||
1082 | <tr> | ||
1083 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator-= </td> | ||
1084 | <td>(</td> | ||
1085 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1086 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1087 | <td><code> [inline]</code></td> | ||
1088 | </tr> | ||
1089 | </table> | ||
1090 | </div> | ||
1091 | <div class="memdoc"> | ||
1092 | |||
1093 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00046">46</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1094 | |||
1095 | </div> | ||
1096 | </div> | ||
1097 | <a class="anchor" id="afe666e30d5e903d4d910f2544829233c"></a><!-- doxytag: member="irr::core::vector3d::operator-=" ref="afe666e30d5e903d4d910f2544829233c" args="(const T val)" --> | ||
1098 | <div class="memitem"> | ||
1099 | <div class="memproto"> | ||
1100 | <div class="memtemplate"> | ||
1101 | template<class T> </div> | ||
1102 | <table class="memname"> | ||
1103 | <tr> | ||
1104 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator-= </td> | ||
1105 | <td>(</td> | ||
1106 | <td class="paramtype">const T </td> | ||
1107 | <td class="paramname"><em>val</em></td><td>)</td> | ||
1108 | <td><code> [inline]</code></td> | ||
1109 | </tr> | ||
1110 | </table> | ||
1111 | </div> | ||
1112 | <div class="memdoc"> | ||
1113 | |||
1114 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00048">48</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1115 | |||
1116 | </div> | ||
1117 | </div> | ||
1118 | <a class="anchor" id="a82f734747a8d460a73482dc69a1d2ece"></a><!-- doxytag: member="irr::core::vector3d::operator/" ref="a82f734747a8d460a73482dc69a1d2ece" args="(const vector3d< T > &other) const " --> | ||
1119 | <div class="memitem"> | ||
1120 | <div class="memproto"> | ||
1121 | <div class="memtemplate"> | ||
1122 | template<class T> </div> | ||
1123 | <table class="memname"> | ||
1124 | <tr> | ||
1125 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator/ </td> | ||
1126 | <td>(</td> | ||
1127 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1128 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1129 | <td> const<code> [inline]</code></td> | ||
1130 | </tr> | ||
1131 | </table> | ||
1132 | </div> | ||
1133 | <div class="memdoc"> | ||
1134 | |||
1135 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00055">55</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1136 | |||
1137 | </div> | ||
1138 | </div> | ||
1139 | <a class="anchor" id="a783084cb15a1a395c54de649544de966"></a><!-- doxytag: member="irr::core::vector3d::operator/" ref="a783084cb15a1a395c54de649544de966" args="(const T v) const " --> | ||
1140 | <div class="memitem"> | ||
1141 | <div class="memproto"> | ||
1142 | <div class="memtemplate"> | ||
1143 | template<class T> </div> | ||
1144 | <table class="memname"> | ||
1145 | <tr> | ||
1146 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator/ </td> | ||
1147 | <td>(</td> | ||
1148 | <td class="paramtype">const T </td> | ||
1149 | <td class="paramname"><em>v</em></td><td>)</td> | ||
1150 | <td> const<code> [inline]</code></td> | ||
1151 | </tr> | ||
1152 | </table> | ||
1153 | </div> | ||
1154 | <div class="memdoc"> | ||
1155 | |||
1156 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00057">57</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1157 | |||
1158 | </div> | ||
1159 | </div> | ||
1160 | <a class="anchor" id="a7597f07300c420146117f2e5854153c2"></a><!-- doxytag: member="irr::core::vector3d::operator/" ref="a7597f07300c420146117f2e5854153c2" args="(s32 val) const" --> | ||
1161 | <div class="memitem"> | ||
1162 | <div class="memproto"> | ||
1163 | <div class="memtemplate"> | ||
1164 | template<> </div> | ||
1165 | <table class="memname"> | ||
1166 | <tr> | ||
1167 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> >::operator/ </td> | ||
1168 | <td>(</td> | ||
1169 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1170 | <td class="paramname"><em>val</em></td><td>)</td> | ||
1171 | <td> const<code> [inline]</code></td> | ||
1172 | </tr> | ||
1173 | </table> | ||
1174 | </div> | ||
1175 | <div class="memdoc"> | ||
1176 | |||
1177 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00420">420</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1178 | |||
1179 | <p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d< T >::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d< T >::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d< T >::Z</a>.</p> | ||
1180 | |||
1181 | </div> | ||
1182 | </div> | ||
1183 | <a class="anchor" id="ab46c94558797997b369cfe0a38c57794"></a><!-- doxytag: member="irr::core::vector3d::operator/=" ref="ab46c94558797997b369cfe0a38c57794" args="(const vector3d< T > &other)" --> | ||
1184 | <div class="memitem"> | ||
1185 | <div class="memproto"> | ||
1186 | <div class="memtemplate"> | ||
1187 | template<class T> </div> | ||
1188 | <table class="memname"> | ||
1189 | <tr> | ||
1190 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator/= </td> | ||
1191 | <td>(</td> | ||
1192 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1193 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1194 | <td><code> [inline]</code></td> | ||
1195 | </tr> | ||
1196 | </table> | ||
1197 | </div> | ||
1198 | <div class="memdoc"> | ||
1199 | |||
1200 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00056">56</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1201 | |||
1202 | </div> | ||
1203 | </div> | ||
1204 | <a class="anchor" id="a6b1f864e2316167a8b5a65ca086c11ff"></a><!-- doxytag: member="irr::core::vector3d::operator/=" ref="a6b1f864e2316167a8b5a65ca086c11ff" args="(const T v)" --> | ||
1205 | <div class="memitem"> | ||
1206 | <div class="memproto"> | ||
1207 | <div class="memtemplate"> | ||
1208 | template<class T> </div> | ||
1209 | <table class="memname"> | ||
1210 | <tr> | ||
1211 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator/= </td> | ||
1212 | <td>(</td> | ||
1213 | <td class="paramtype">const T </td> | ||
1214 | <td class="paramname"><em>v</em></td><td>)</td> | ||
1215 | <td><code> [inline]</code></td> | ||
1216 | </tr> | ||
1217 | </table> | ||
1218 | </div> | ||
1219 | <div class="memdoc"> | ||
1220 | |||
1221 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00058">58</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1222 | |||
1223 | </div> | ||
1224 | </div> | ||
1225 | <a class="anchor" id="a1d153631bde79b7bf50c2ab453d2bc60"></a><!-- doxytag: member="irr::core::vector3d::operator/=" ref="a1d153631bde79b7bf50c2ab453d2bc60" args="(s32 val)" --> | ||
1226 | <div class="memitem"> | ||
1227 | <div class="memproto"> | ||
1228 | <div class="memtemplate"> | ||
1229 | template<> </div> | ||
1230 | <table class="memname"> | ||
1231 | <tr> | ||
1232 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> >::operator/= </td> | ||
1233 | <td>(</td> | ||
1234 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1235 | <td class="paramname"><em>val</em></td><td>)</td> | ||
1236 | <td><code> [inline]</code></td> | ||
1237 | </tr> | ||
1238 | </table> | ||
1239 | </div> | ||
1240 | <div class="memdoc"> | ||
1241 | |||
1242 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00422">422</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1243 | |||
1244 | <p>References <a class="el" href="vector3d_8h_source.html#l00408">irr::core::vector3d< T >::X</a>, <a class="el" href="vector3d_8h_source.html#l00411">irr::core::vector3d< T >::Y</a>, and <a class="el" href="vector3d_8h_source.html#l00414">irr::core::vector3d< T >::Z</a>.</p> | ||
1245 | |||
1246 | </div> | ||
1247 | </div> | ||
1248 | <a class="anchor" id="a9ce8b1cf82c64f0985cf668056698519"></a><!-- doxytag: member="irr::core::vector3d::operator<" ref="a9ce8b1cf82c64f0985cf668056698519" args="(const vector3d< T > &other) const " --> | ||
1249 | <div class="memitem"> | ||
1250 | <div class="memproto"> | ||
1251 | <div class="memtemplate"> | ||
1252 | template<class T> </div> | ||
1253 | <table class="memname"> | ||
1254 | <tr> | ||
1255 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator< </td> | ||
1256 | <td>(</td> | ||
1257 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1258 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1259 | <td> const<code> [inline]</code></td> | ||
1260 | </tr> | ||
1261 | </table> | ||
1262 | </div> | ||
1263 | <div class="memdoc"> | ||
1264 | |||
1265 | <p>sort in order X, Y, Z. Difference must be above rounding tolerance. </p> | ||
1266 | |||
1267 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00077">77</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1268 | |||
1269 | </div> | ||
1270 | </div> | ||
1271 | <a class="anchor" id="ad567b75b65cd2ded2312d41f7a5263da"></a><!-- doxytag: member="irr::core::vector3d::operator<=" ref="ad567b75b65cd2ded2312d41f7a5263da" args="(const vector3d< T > &other) const " --> | ||
1272 | <div class="memitem"> | ||
1273 | <div class="memproto"> | ||
1274 | <div class="memtemplate"> | ||
1275 | template<class T> </div> | ||
1276 | <table class="memname"> | ||
1277 | <tr> | ||
1278 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator<= </td> | ||
1279 | <td>(</td> | ||
1280 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1281 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1282 | <td> const<code> [inline]</code></td> | ||
1283 | </tr> | ||
1284 | </table> | ||
1285 | </div> | ||
1286 | <div class="memdoc"> | ||
1287 | |||
1288 | <p>sort in order X, Y, Z. Equality with rounding tolerance. </p> | ||
1289 | |||
1290 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00061">61</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1291 | |||
1292 | </div> | ||
1293 | </div> | ||
1294 | <a class="anchor" id="afaaaf1d22c44ac50d03026cbfc794c42"></a><!-- doxytag: member="irr::core::vector3d::operator=" ref="afaaaf1d22c44ac50d03026cbfc794c42" args="(const vector3d< T > &other)" --> | ||
1295 | <div class="memitem"> | ||
1296 | <div class="memproto"> | ||
1297 | <div class="memtemplate"> | ||
1298 | template<class T> </div> | ||
1299 | <table class="memname"> | ||
1300 | <tr> | ||
1301 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator= </td> | ||
1302 | <td>(</td> | ||
1303 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1304 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1305 | <td><code> [inline]</code></td> | ||
1306 | </tr> | ||
1307 | </table> | ||
1308 | </div> | ||
1309 | <div class="memdoc"> | ||
1310 | |||
1311 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00038">38</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1312 | |||
1313 | </div> | ||
1314 | </div> | ||
1315 | <a class="anchor" id="a3908b4e712fa753a0c88ca6dfce36e34"></a><!-- doxytag: member="irr::core::vector3d::operator==" ref="a3908b4e712fa753a0c88ca6dfce36e34" args="(const vector3d< T > &other) const " --> | ||
1316 | <div class="memitem"> | ||
1317 | <div class="memproto"> | ||
1318 | <div class="memtemplate"> | ||
1319 | template<class T> </div> | ||
1320 | <table class="memname"> | ||
1321 | <tr> | ||
1322 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator== </td> | ||
1323 | <td>(</td> | ||
1324 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1325 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1326 | <td> const<code> [inline]</code></td> | ||
1327 | </tr> | ||
1328 | </table> | ||
1329 | </div> | ||
1330 | <div class="memdoc"> | ||
1331 | |||
1332 | <p>use weak float compare </p> | ||
1333 | |||
1334 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00093">93</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1335 | |||
1336 | </div> | ||
1337 | </div> | ||
1338 | <a class="anchor" id="aeabe64473259a894507360f399d7f816"></a><!-- doxytag: member="irr::core::vector3d::operator>" ref="aeabe64473259a894507360f399d7f816" args="(const vector3d< T > &other) const " --> | ||
1339 | <div class="memitem"> | ||
1340 | <div class="memproto"> | ||
1341 | <div class="memtemplate"> | ||
1342 | template<class T> </div> | ||
1343 | <table class="memname"> | ||
1344 | <tr> | ||
1345 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator> </td> | ||
1346 | <td>(</td> | ||
1347 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1348 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1349 | <td> const<code> [inline]</code></td> | ||
1350 | </tr> | ||
1351 | </table> | ||
1352 | </div> | ||
1353 | <div class="memdoc"> | ||
1354 | |||
1355 | <p>sort in order X, Y, Z. Difference must be above rounding tolerance. </p> | ||
1356 | |||
1357 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00085">85</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1358 | |||
1359 | </div> | ||
1360 | </div> | ||
1361 | <a class="anchor" id="ab3c1da2da396a7f2ae336fda985cab6d"></a><!-- doxytag: member="irr::core::vector3d::operator>=" ref="ab3c1da2da396a7f2ae336fda985cab6d" args="(const vector3d< T > &other) const " --> | ||
1362 | <div class="memitem"> | ||
1363 | <div class="memproto"> | ||
1364 | <div class="memtemplate"> | ||
1365 | template<class T> </div> | ||
1366 | <table class="memname"> | ||
1367 | <tr> | ||
1368 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::operator>= </td> | ||
1369 | <td>(</td> | ||
1370 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1371 | <td class="paramname"><em>other</em></td><td>)</td> | ||
1372 | <td> const<code> [inline]</code></td> | ||
1373 | </tr> | ||
1374 | </table> | ||
1375 | </div> | ||
1376 | <div class="memdoc"> | ||
1377 | |||
1378 | <p>sort in order X, Y, Z. Equality with rounding tolerance. </p> | ||
1379 | |||
1380 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00069">69</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1381 | |||
1382 | </div> | ||
1383 | </div> | ||
1384 | <a class="anchor" id="ac38b75735ec06716305fbb09ec71784d"></a><!-- doxytag: member="irr::core::vector3d::rotateXYBy" ref="ac38b75735ec06716305fbb09ec71784d" args="(f64 degrees, const vector3d< T > &center=vector3d< T >())" --> | ||
1385 | <div class="memitem"> | ||
1386 | <div class="memproto"> | ||
1387 | <div class="memtemplate"> | ||
1388 | template<class T> </div> | ||
1389 | <table class="memname"> | ||
1390 | <tr> | ||
1391 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::rotateXYBy </td> | ||
1392 | <td>(</td> | ||
1393 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
1394 | <td class="paramname"><em>degrees</em>, </td> | ||
1395 | </tr> | ||
1396 | <tr> | ||
1397 | <td class="paramkey"></td> | ||
1398 | <td></td> | ||
1399 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1400 | <td class="paramname"><em>center</em> = <code><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>()</code> </td> | ||
1401 | </tr> | ||
1402 | <tr> | ||
1403 | <td></td> | ||
1404 | <td>)</td> | ||
1405 | <td></td><td><code> [inline]</code></td> | ||
1406 | </tr> | ||
1407 | </table> | ||
1408 | </div> | ||
1409 | <div class="memdoc"> | ||
1410 | |||
1411 | <p>Rotates the vector by a specified number of degrees around the Z axis and the specified center. </p> | ||
1412 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1413 | <table class="params"> | ||
1414 | <tr><td class="paramname">degrees,:</td><td>Number of degrees to rotate around the Z axis. </td></tr> | ||
1415 | <tr><td class="paramname">center,:</td><td>The center of the rotation. </td></tr> | ||
1416 | </table> | ||
1417 | </dd> | ||
1418 | </dl> | ||
1419 | |||
1420 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00215">215</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1421 | |||
1422 | </div> | ||
1423 | </div> | ||
1424 | <a class="anchor" id="a621fbddb42814edd3d14410252cf7b7a"></a><!-- doxytag: member="irr::core::vector3d::rotateXZBy" ref="a621fbddb42814edd3d14410252cf7b7a" args="(f64 degrees, const vector3d< T > &center=vector3d< T >())" --> | ||
1425 | <div class="memitem"> | ||
1426 | <div class="memproto"> | ||
1427 | <div class="memtemplate"> | ||
1428 | template<class T> </div> | ||
1429 | <table class="memname"> | ||
1430 | <tr> | ||
1431 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::rotateXZBy </td> | ||
1432 | <td>(</td> | ||
1433 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
1434 | <td class="paramname"><em>degrees</em>, </td> | ||
1435 | </tr> | ||
1436 | <tr> | ||
1437 | <td class="paramkey"></td> | ||
1438 | <td></td> | ||
1439 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1440 | <td class="paramname"><em>center</em> = <code><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>()</code> </td> | ||
1441 | </tr> | ||
1442 | <tr> | ||
1443 | <td></td> | ||
1444 | <td>)</td> | ||
1445 | <td></td><td><code> [inline]</code></td> | ||
1446 | </tr> | ||
1447 | </table> | ||
1448 | </div> | ||
1449 | <div class="memdoc"> | ||
1450 | |||
1451 | <p>Rotates the vector by a specified number of degrees around the Y axis and the specified center. </p> | ||
1452 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1453 | <table class="params"> | ||
1454 | <tr><td class="paramname">degrees</td><td>Number of degrees to rotate around the Y axis. </td></tr> | ||
1455 | <tr><td class="paramname">center</td><td>The center of the rotation. </td></tr> | ||
1456 | </table> | ||
1457 | </dd> | ||
1458 | </dl> | ||
1459 | |||
1460 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00200">200</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1461 | |||
1462 | </div> | ||
1463 | </div> | ||
1464 | <a class="anchor" id="aaa048312f75f152861479cb48e2ddfe4"></a><!-- doxytag: member="irr::core::vector3d::rotateYZBy" ref="aaa048312f75f152861479cb48e2ddfe4" args="(f64 degrees, const vector3d< T > &center=vector3d< T >())" --> | ||
1465 | <div class="memitem"> | ||
1466 | <div class="memproto"> | ||
1467 | <div class="memtemplate"> | ||
1468 | template<class T> </div> | ||
1469 | <table class="memname"> | ||
1470 | <tr> | ||
1471 | <td class="memname">void <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::rotateYZBy </td> | ||
1472 | <td>(</td> | ||
1473 | <td class="paramtype"><a class="el" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28">f64</a> </td> | ||
1474 | <td class="paramname"><em>degrees</em>, </td> | ||
1475 | </tr> | ||
1476 | <tr> | ||
1477 | <td class="paramkey"></td> | ||
1478 | <td></td> | ||
1479 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1480 | <td class="paramname"><em>center</em> = <code><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>()</code> </td> | ||
1481 | </tr> | ||
1482 | <tr> | ||
1483 | <td></td> | ||
1484 | <td>)</td> | ||
1485 | <td></td><td><code> [inline]</code></td> | ||
1486 | </tr> | ||
1487 | </table> | ||
1488 | </div> | ||
1489 | <div class="memdoc"> | ||
1490 | |||
1491 | <p>Rotates the vector by a specified number of degrees around the X axis and the specified center. </p> | ||
1492 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1493 | <table class="params"> | ||
1494 | <tr><td class="paramname">degrees,:</td><td>Number of degrees to rotate around the X axis. </td></tr> | ||
1495 | <tr><td class="paramname">center,:</td><td>The center of the rotation. </td></tr> | ||
1496 | </table> | ||
1497 | </dd> | ||
1498 | </dl> | ||
1499 | |||
1500 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00230">230</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1501 | |||
1502 | </div> | ||
1503 | </div> | ||
1504 | <a class="anchor" id="a4db5cfbb71995227e37334a19278474d"></a><!-- doxytag: member="irr::core::vector3d::rotationToDirection" ref="a4db5cfbb71995227e37334a19278474d" args="(const vector3d< T > &forwards=vector3d< T >(0, 0, 1)) const " --> | ||
1505 | <div class="memitem"> | ||
1506 | <div class="memproto"> | ||
1507 | <div class="memtemplate"> | ||
1508 | template<class T> </div> | ||
1509 | <table class="memname"> | ||
1510 | <tr> | ||
1511 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T> <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::rotationToDirection </td> | ||
1512 | <td>(</td> | ||
1513 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1514 | <td class="paramname"><em>forwards</em> = <code><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>(0, 0, 1)</code></td><td>)</td> | ||
1515 | <td> const<code> [inline]</code></td> | ||
1516 | </tr> | ||
1517 | </table> | ||
1518 | </div> | ||
1519 | <div class="memdoc"> | ||
1520 | |||
1521 | <p>Builds a direction vector from (this) rotation vector. </p> | ||
1522 | <p>This vector is assumed to be a rotation vector composed of 3 Euler angle rotations, in degrees. The implementation performs the same calculations as using a matrix to do the rotation.</p> | ||
1523 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1524 | <table class="params"> | ||
1525 | <tr><td class="paramdir">[in]</td><td class="paramname">forwards</td><td>The direction representing "forwards" which will be rotated by this vector. If you do not provide a direction, then the +Z axis (0, 0, 1) will be assumed to be forwards. </td></tr> | ||
1526 | </table> | ||
1527 | </dd> | ||
1528 | </dl> | ||
1529 | <dl class="return"><dt><b>Returns:</b></dt><dd>A direction vector calculated by rotating the forwards direction by the 3 Euler angles (in degrees) represented by this vector. </dd></dl> | ||
1530 | |||
1531 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00357">357</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1532 | |||
1533 | </div> | ||
1534 | </div> | ||
1535 | <a class="anchor" id="a3e9048423e1176a7342759a290d55c96"></a><!-- doxytag: member="irr::core::vector3d::set" ref="a3e9048423e1176a7342759a290d55c96" args="(const T nx, const T ny, const T nz)" --> | ||
1536 | <div class="memitem"> | ||
1537 | <div class="memproto"> | ||
1538 | <div class="memtemplate"> | ||
1539 | template<class T> </div> | ||
1540 | <table class="memname"> | ||
1541 | <tr> | ||
1542 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::set </td> | ||
1543 | <td>(</td> | ||
1544 | <td class="paramtype">const T </td> | ||
1545 | <td class="paramname"><em>nx</em>, </td> | ||
1546 | </tr> | ||
1547 | <tr> | ||
1548 | <td class="paramkey"></td> | ||
1549 | <td></td> | ||
1550 | <td class="paramtype">const T </td> | ||
1551 | <td class="paramname"><em>ny</em>, </td> | ||
1552 | </tr> | ||
1553 | <tr> | ||
1554 | <td class="paramkey"></td> | ||
1555 | <td></td> | ||
1556 | <td class="paramtype">const T </td> | ||
1557 | <td class="paramname"><em>nz</em> </td> | ||
1558 | </tr> | ||
1559 | <tr> | ||
1560 | <td></td> | ||
1561 | <td>)</td> | ||
1562 | <td></td><td><code> [inline]</code></td> | ||
1563 | </tr> | ||
1564 | </table> | ||
1565 | </div> | ||
1566 | <div class="memdoc"> | ||
1567 | |||
1568 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00113">113</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1569 | |||
1570 | <p>Referenced by <a class="el" href="aabbox3d_8h_source.html#l00142">irr::core::aabbox3d< f32 >::getEdges()</a>, and <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>.</p> | ||
1571 | |||
1572 | </div> | ||
1573 | </div> | ||
1574 | <a class="anchor" id="aaa41e0e1f747d4d83af8ac6b621184da"></a><!-- doxytag: member="irr::core::vector3d::set" ref="aaa41e0e1f747d4d83af8ac6b621184da" args="(const vector3d< T > &p)" --> | ||
1575 | <div class="memitem"> | ||
1576 | <div class="memproto"> | ||
1577 | <div class="memtemplate"> | ||
1578 | template<class T> </div> | ||
1579 | <table class="memname"> | ||
1580 | <tr> | ||
1581 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::set </td> | ||
1582 | <td>(</td> | ||
1583 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a>< T > & </td> | ||
1584 | <td class="paramname"><em>p</em></td><td>)</td> | ||
1585 | <td><code> [inline]</code></td> | ||
1586 | </tr> | ||
1587 | </table> | ||
1588 | </div> | ||
1589 | <div class="memdoc"> | ||
1590 | |||
1591 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00114">114</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1592 | |||
1593 | </div> | ||
1594 | </div> | ||
1595 | <a class="anchor" id="ae593448ac63803b3d254b0e6c7600f28"></a><!-- doxytag: member="irr::core::vector3d::setLength" ref="ae593448ac63803b3d254b0e6c7600f28" args="(T newlength)" --> | ||
1596 | <div class="memitem"> | ||
1597 | <div class="memproto"> | ||
1598 | <div class="memtemplate"> | ||
1599 | template<class T> </div> | ||
1600 | <table class="memname"> | ||
1601 | <tr> | ||
1602 | <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a><T>& <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::setLength </td> | ||
1603 | <td>(</td> | ||
1604 | <td class="paramtype">T </td> | ||
1605 | <td class="paramname"><em>newlength</em></td><td>)</td> | ||
1606 | <td><code> [inline]</code></td> | ||
1607 | </tr> | ||
1608 | </table> | ||
1609 | </div> | ||
1610 | <div class="memdoc"> | ||
1611 | |||
1612 | <p>Sets the length of the vector to a new value. </p> | ||
1613 | |||
1614 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00182">182</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1615 | |||
1616 | </div> | ||
1617 | </div> | ||
1618 | <hr/><h2>Member Data Documentation</h2> | ||
1619 | <a class="anchor" id="a8c9ed06774dc668112bcefacb6e7732b"></a><!-- doxytag: member="irr::core::vector3d::X" ref="a8c9ed06774dc668112bcefacb6e7732b" args="" --> | ||
1620 | <div class="memitem"> | ||
1621 | <div class="memproto"> | ||
1622 | <div class="memtemplate"> | ||
1623 | template<class T> </div> | ||
1624 | <table class="memname"> | ||
1625 | <tr> | ||
1626 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html#a8c9ed06774dc668112bcefacb6e7732b">X</a></td> | ||
1627 | </tr> | ||
1628 | </table> | ||
1629 | </div> | ||
1630 | <div class="memdoc"> | ||
1631 | |||
1632 | <p>X coordinate of the vector. </p> | ||
1633 | |||
1634 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00408">408</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1635 | |||
1636 | <p>Referenced by <a class="el" href="aabbox3d_8h_source.html#l00074">irr::core::aabbox3d< f32 >::addInternalPoint()</a>, <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="aabbox3d_8h_source.html#l00284">irr::core::aabbox3d< f32 >::classifyPlaneRelation()</a>, <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d< f32 >::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d< f32 >::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00106">irr::core::vector3d< f32 >::equals()</a>, <a class="el" href="quaternion_8h_source.html#l00563">irr::core::quaternion::fromAngleAxis()</a>, <a class="el" href="aabbox3d_8h_source.html#l00134">irr::core::aabbox3d< f32 >::getArea()</a>, <a class="el" href="vector3d_8h_source.html#l00399">irr::core::vector3d< f32 >::getAs3Values()</a>, <a class="el" href="vector3d_8h_source.html#l00389">irr::core::vector3d< f32 >::getAs4Values()</a>, <a class="el" href="_i_q3_shader_8h_source.html#l00115">irr::scene::quake3::getAsVector3df()</a>, <a class="el" href="vector3d_8h_source.html#l00132">irr::core::vector3d< f32 >::getDistanceFrom()</a>, <a class="el" href="vector3d_8h_source.html#l00139">irr::core::vector3d< f32 >::getDistanceFromSQ()</a>, <a class="el" href="aabbox3d_8h_source.html#l00142">irr::core::aabbox3d< f32 >::getEdges()</a>, <a class="el" href="vector3d_8h_source.html#l00301">irr::core::vector3d< f32 >::getHorizontalAngle()</a>, <a class="el" href="vector3d_8h_source.html#l00247">irr::core::vector3d< f32 >::getInterpolated()</a>, <a class="el" href="vector3d_8h_source.html#l00259">irr::core::vector3d< f32 >::getInterpolated_quadratic()</a>, <a class="el" href="triangle3d_8h_source.html#l00169">irr::core::triangle3d< T >::getIntersectionOfPlaneWithLine()</a>, <a class="el" href="vector3d_8h_source.html#l00117">irr::core::vector3d< f32 >::getLength()</a>, <a class="el" href="vector3d_8h_source.html#l00122">irr::core::vector3d< f32 >::getLengthSQ()</a>, <a class="el" href="quaternion_8h_source.html#l00349">irr::core::quaternion::getMatrix()</a>, <a class="el" href="matrix4_8h_source.html#l00860">irr::core::CMatrix4< T >::getRotationDegrees()</a>, <a class="el" href="vector3d_8h_source.html#l00330">irr::core::vector3d< f32 >::getSphericalCoordinateAngles()</a>, <a class="el" href="vector3d_8h_source.html#l00425">irr::core::vector3d< T >::getSphericalCoordinateAngles()</a>, <a class="el" href="aabbox3d_8h_source.html#l00127">irr::core::aabbox3d< f32 >::getVolume()</a>, <a class="el" href="vector3d_8h_source.html#l00278">irr::core::vector3d< f32 >::interpolate()</a>, <a class="el" href="aabbox3d_8h_source.html#l00253">irr::core::aabbox3d< f32 >::intersectsWithLine()</a>, <a class="el" href="matrix4_8h_source.html#l01128">irr::core::CMatrix4< T >::inverseRotateVect()</a>, <a class="el" href="matrix4_8h_source.html#l01290">irr::core::CMatrix4< T >::inverseTranslateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00189">irr::core::vector3d< f32 >::invert()</a>, <a class="el" href="triangle3d_8h_source.html#l00089">irr::core::triangle3d< T >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00201">irr::core::aabbox3d< f32 >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00212">irr::core::aabbox3d< f32 >::isPointTotalInside()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d< f32 >::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00050">irr::core::vector3d< f32 >::operator*()</a>, <a class="el" href="vector3d_8h_source.html#l00051">irr::core::vector3d< f32 >::operator*=()</a>, <a class="el" href="vector3d_8h_source.html#l00040">irr::core::vector3d< f32 >::operator+()</a>, <a class="el" href="vector3d_8h_source.html#l00041">irr::core::vector3d< f32 >::operator+=()</a>, <a class="el" href="vector3d_8h_source.html#l00036">irr::core::vector3d< f32 >::operator-()</a>, <a class="el" href="vector3d_8h_source.html#l00046">irr::core::vector3d< f32 >::operator-=()</a>, <a class="el" href="vector3d_8h_source.html#l00055">irr::core::vector3d< f32 >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00420">irr::core::vector3d< T >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00056">irr::core::vector3d< f32 >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00422">irr::core::vector3d< T >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00077">irr::core::vector3d< f32 >::operator<()</a>, <a class="el" href="vector3d_8h_source.html#l00061">irr::core::vector3d< f32 >::operator<=()</a>, <a class="el" href="vector3d_8h_source.html#l00038">irr::core::vector3d< f32 >::operator=()</a>, <a class="el" href="vector3d_8h_source.html#l00085">irr::core::vector3d< f32 >::operator>()</a>, <a class="el" href="vector3d_8h_source.html#l00069">irr::core::vector3d< f32 >::operator>=()</a>, <a class="el" href="quaternion_8h_source.html#l00194">irr::core::quaternion::quaternion()</a>, <a class="el" href="matrix4_8h_source.html#l01101">irr::core::CMatrix4< T >::rotateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00215">irr::core::vector3d< f32 >::rotateXYBy()</a>, <a class="el" href="vector3d_8h_source.html#l00200">irr::core::vector3d< f32 >::rotateXZBy()</a>, <a class="el" href="vector3d_8h_source.html#l00230">irr::core::vector3d< f32 >::rotateYZBy()</a>, <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>, <a class="el" href="vector3d_8h_source.html#l00357">irr::core::vector3d< f32 >::rotationToDirection()</a>, <a class="el" href="quaternion_8h_source.html#l00487">irr::core::quaternion::set()</a>, <a class="el" href="vector3d_8h_source.html#l00113">irr::core::vector3d< f32 >::set()</a>, <a class="el" href="matrix4_8h_source.html#l00917">irr::core::CMatrix4< T >::setInverseRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00763">irr::core::CMatrix4< T >::setInverseTranslation()</a>, <a class="el" href="matrix4_8h_source.html#l00948">irr::core::CMatrix4< T >::setRotationAxisRadians()</a>, <a class="el" href="matrix4_8h_source.html#l02041">irr::core::CMatrix4< T >::setRotationCenter()</a>, <a class="el" href="matrix4_8h_source.html#l00825">irr::core::CMatrix4< T >::setRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00775">irr::core::CMatrix4< T >::setScale()</a>, <a class="el" href="matrix4_8h_source.html#l00751">irr::core::CMatrix4< T >::setTranslation()</a>, <a class="el" href="quaternion_8h_source.html#l00575">irr::core::quaternion::toAngleAxis()</a>, <a class="el" href="quaternion_8h_source.html#l00596">irr::core::quaternion::toEuler()</a>, <a class="el" href="matrix4_8h_source.html#l01217">irr::core::CMatrix4< T >::transformBoxEx()</a>, <a class="el" href="matrix4_8h_source.html#l01137">irr::core::CMatrix4< T >::transformVect()</a>, <a class="el" href="matrix4_8h_source.html#l01298">irr::core::CMatrix4< T >::translateVect()</a>, and <a class="el" href="_i_animated_mesh_m_d3_8h_source.html#l00154">irr::scene::SMD3QuaternionTag::~SMD3QuaternionTag()</a>.</p> | ||
1637 | |||
1638 | </div> | ||
1639 | </div> | ||
1640 | <a class="anchor" id="af8f87c2fe0ce717ade7c3d7419302fbd"></a><!-- doxytag: member="irr::core::vector3d::Y" ref="af8f87c2fe0ce717ade7c3d7419302fbd" args="" --> | ||
1641 | <div class="memitem"> | ||
1642 | <div class="memproto"> | ||
1643 | <div class="memtemplate"> | ||
1644 | template<class T> </div> | ||
1645 | <table class="memname"> | ||
1646 | <tr> | ||
1647 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html#af8f87c2fe0ce717ade7c3d7419302fbd">Y</a></td> | ||
1648 | </tr> | ||
1649 | </table> | ||
1650 | </div> | ||
1651 | <div class="memdoc"> | ||
1652 | |||
1653 | <p>Y coordinate of the vector. </p> | ||
1654 | |||
1655 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00411">411</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1656 | |||
1657 | <p>Referenced by <a class="el" href="aabbox3d_8h_source.html#l00074">irr::core::aabbox3d< f32 >::addInternalPoint()</a>, <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="aabbox3d_8h_source.html#l00284">irr::core::aabbox3d< f32 >::classifyPlaneRelation()</a>, <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d< f32 >::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d< f32 >::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00106">irr::core::vector3d< f32 >::equals()</a>, <a class="el" href="quaternion_8h_source.html#l00563">irr::core::quaternion::fromAngleAxis()</a>, <a class="el" href="aabbox3d_8h_source.html#l00134">irr::core::aabbox3d< f32 >::getArea()</a>, <a class="el" href="vector3d_8h_source.html#l00399">irr::core::vector3d< f32 >::getAs3Values()</a>, <a class="el" href="vector3d_8h_source.html#l00389">irr::core::vector3d< f32 >::getAs4Values()</a>, <a class="el" href="_i_q3_shader_8h_source.html#l00115">irr::scene::quake3::getAsVector3df()</a>, <a class="el" href="vector3d_8h_source.html#l00132">irr::core::vector3d< f32 >::getDistanceFrom()</a>, <a class="el" href="vector3d_8h_source.html#l00139">irr::core::vector3d< f32 >::getDistanceFromSQ()</a>, <a class="el" href="aabbox3d_8h_source.html#l00142">irr::core::aabbox3d< f32 >::getEdges()</a>, <a class="el" href="vector3d_8h_source.html#l00301">irr::core::vector3d< f32 >::getHorizontalAngle()</a>, <a class="el" href="vector3d_8h_source.html#l00247">irr::core::vector3d< f32 >::getInterpolated()</a>, <a class="el" href="vector3d_8h_source.html#l00259">irr::core::vector3d< f32 >::getInterpolated_quadratic()</a>, <a class="el" href="triangle3d_8h_source.html#l00169">irr::core::triangle3d< T >::getIntersectionOfPlaneWithLine()</a>, <a class="el" href="vector3d_8h_source.html#l00117">irr::core::vector3d< f32 >::getLength()</a>, <a class="el" href="vector3d_8h_source.html#l00122">irr::core::vector3d< f32 >::getLengthSQ()</a>, <a class="el" href="quaternion_8h_source.html#l00349">irr::core::quaternion::getMatrix()</a>, <a class="el" href="matrix4_8h_source.html#l00860">irr::core::CMatrix4< T >::getRotationDegrees()</a>, <a class="el" href="vector3d_8h_source.html#l00330">irr::core::vector3d< f32 >::getSphericalCoordinateAngles()</a>, <a class="el" href="vector3d_8h_source.html#l00425">irr::core::vector3d< T >::getSphericalCoordinateAngles()</a>, <a class="el" href="aabbox3d_8h_source.html#l00127">irr::core::aabbox3d< f32 >::getVolume()</a>, <a class="el" href="vector3d_8h_source.html#l00278">irr::core::vector3d< f32 >::interpolate()</a>, <a class="el" href="aabbox3d_8h_source.html#l00253">irr::core::aabbox3d< f32 >::intersectsWithLine()</a>, <a class="el" href="matrix4_8h_source.html#l01128">irr::core::CMatrix4< T >::inverseRotateVect()</a>, <a class="el" href="matrix4_8h_source.html#l01290">irr::core::CMatrix4< T >::inverseTranslateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00189">irr::core::vector3d< f32 >::invert()</a>, <a class="el" href="triangle3d_8h_source.html#l00089">irr::core::triangle3d< T >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00201">irr::core::aabbox3d< f32 >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00212">irr::core::aabbox3d< f32 >::isPointTotalInside()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d< f32 >::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00050">irr::core::vector3d< f32 >::operator*()</a>, <a class="el" href="vector3d_8h_source.html#l00051">irr::core::vector3d< f32 >::operator*=()</a>, <a class="el" href="vector3d_8h_source.html#l00040">irr::core::vector3d< f32 >::operator+()</a>, <a class="el" href="vector3d_8h_source.html#l00041">irr::core::vector3d< f32 >::operator+=()</a>, <a class="el" href="vector3d_8h_source.html#l00036">irr::core::vector3d< f32 >::operator-()</a>, <a class="el" href="vector3d_8h_source.html#l00046">irr::core::vector3d< f32 >::operator-=()</a>, <a class="el" href="vector3d_8h_source.html#l00055">irr::core::vector3d< f32 >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00420">irr::core::vector3d< T >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00056">irr::core::vector3d< f32 >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00422">irr::core::vector3d< T >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00077">irr::core::vector3d< f32 >::operator<()</a>, <a class="el" href="vector3d_8h_source.html#l00061">irr::core::vector3d< f32 >::operator<=()</a>, <a class="el" href="vector3d_8h_source.html#l00038">irr::core::vector3d< f32 >::operator=()</a>, <a class="el" href="vector3d_8h_source.html#l00085">irr::core::vector3d< f32 >::operator>()</a>, <a class="el" href="vector3d_8h_source.html#l00069">irr::core::vector3d< f32 >::operator>=()</a>, <a class="el" href="quaternion_8h_source.html#l00194">irr::core::quaternion::quaternion()</a>, <a class="el" href="matrix4_8h_source.html#l01101">irr::core::CMatrix4< T >::rotateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00215">irr::core::vector3d< f32 >::rotateXYBy()</a>, <a class="el" href="vector3d_8h_source.html#l00200">irr::core::vector3d< f32 >::rotateXZBy()</a>, <a class="el" href="vector3d_8h_source.html#l00230">irr::core::vector3d< f32 >::rotateYZBy()</a>, <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>, <a class="el" href="vector3d_8h_source.html#l00357">irr::core::vector3d< f32 >::rotationToDirection()</a>, <a class="el" href="quaternion_8h_source.html#l00487">irr::core::quaternion::set()</a>, <a class="el" href="vector3d_8h_source.html#l00113">irr::core::vector3d< f32 >::set()</a>, <a class="el" href="matrix4_8h_source.html#l00917">irr::core::CMatrix4< T >::setInverseRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00763">irr::core::CMatrix4< T >::setInverseTranslation()</a>, <a class="el" href="matrix4_8h_source.html#l00948">irr::core::CMatrix4< T >::setRotationAxisRadians()</a>, <a class="el" href="matrix4_8h_source.html#l02041">irr::core::CMatrix4< T >::setRotationCenter()</a>, <a class="el" href="matrix4_8h_source.html#l00825">irr::core::CMatrix4< T >::setRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00775">irr::core::CMatrix4< T >::setScale()</a>, <a class="el" href="matrix4_8h_source.html#l00751">irr::core::CMatrix4< T >::setTranslation()</a>, <a class="el" href="quaternion_8h_source.html#l00575">irr::core::quaternion::toAngleAxis()</a>, <a class="el" href="quaternion_8h_source.html#l00596">irr::core::quaternion::toEuler()</a>, <a class="el" href="matrix4_8h_source.html#l01217">irr::core::CMatrix4< T >::transformBoxEx()</a>, <a class="el" href="matrix4_8h_source.html#l01137">irr::core::CMatrix4< T >::transformVect()</a>, and <a class="el" href="matrix4_8h_source.html#l01298">irr::core::CMatrix4< T >::translateVect()</a>.</p> | ||
1658 | |||
1659 | </div> | ||
1660 | </div> | ||
1661 | <a class="anchor" id="ac2beb702e718c3579971348981b220ed"></a><!-- doxytag: member="irr::core::vector3d::Z" ref="ac2beb702e718c3579971348981b220ed" args="" --> | ||
1662 | <div class="memitem"> | ||
1663 | <div class="memproto"> | ||
1664 | <div class="memtemplate"> | ||
1665 | template<class T> </div> | ||
1666 | <table class="memname"> | ||
1667 | <tr> | ||
1668 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1vector3d.html">irr::core::vector3d</a>< T >::<a class="el" href="classirr_1_1core_1_1vector3d.html#ac2beb702e718c3579971348981b220ed">Z</a></td> | ||
1669 | </tr> | ||
1670 | </table> | ||
1671 | </div> | ||
1672 | <div class="memdoc"> | ||
1673 | |||
1674 | <p>Z coordinate of the vector. </p> | ||
1675 | |||
1676 | <p>Definition at line <a class="el" href="vector3d_8h_source.html#l00414">414</a> of file <a class="el" href="vector3d_8h_source.html">vector3d.h</a>.</p> | ||
1677 | |||
1678 | <p>Referenced by <a class="el" href="aabbox3d_8h_source.html#l00074">irr::core::aabbox3d< f32 >::addInternalPoint()</a>, <a class="el" href="matrix4_8h_source.html#l01990">irr::core::CMatrix4< T >::buildAxisAlignedBillboard()</a>, <a class="el" href="matrix4_8h_source.html#l01775">irr::core::CMatrix4< T >::buildCameraLookAtMatrixLH()</a>, <a class="el" href="matrix4_8h_source.html#l01816">irr::core::CMatrix4< T >::buildCameraLookAtMatrixRH()</a>, <a class="el" href="matrix4_8h_source.html#l01934">irr::core::CMatrix4< T >::buildRotateFromTo()</a>, <a class="el" href="matrix4_8h_source.html#l01743">irr::core::CMatrix4< T >::buildShadowMatrix()</a>, <a class="el" href="aabbox3d_8h_source.html#l00284">irr::core::aabbox3d< f32 >::classifyPlaneRelation()</a>, <a class="el" href="vector3d_8h_source.html#l00147">irr::core::vector3d< f32 >::crossProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00125">irr::core::vector3d< f32 >::dotProduct()</a>, <a class="el" href="vector3d_8h_source.html#l00106">irr::core::vector3d< f32 >::equals()</a>, <a class="el" href="quaternion_8h_source.html#l00563">irr::core::quaternion::fromAngleAxis()</a>, <a class="el" href="aabbox3d_8h_source.html#l00134">irr::core::aabbox3d< f32 >::getArea()</a>, <a class="el" href="vector3d_8h_source.html#l00399">irr::core::vector3d< f32 >::getAs3Values()</a>, <a class="el" href="vector3d_8h_source.html#l00389">irr::core::vector3d< f32 >::getAs4Values()</a>, <a class="el" href="_i_q3_shader_8h_source.html#l00115">irr::scene::quake3::getAsVector3df()</a>, <a class="el" href="vector3d_8h_source.html#l00132">irr::core::vector3d< f32 >::getDistanceFrom()</a>, <a class="el" href="vector3d_8h_source.html#l00139">irr::core::vector3d< f32 >::getDistanceFromSQ()</a>, <a class="el" href="aabbox3d_8h_source.html#l00142">irr::core::aabbox3d< f32 >::getEdges()</a>, <a class="el" href="vector3d_8h_source.html#l00301">irr::core::vector3d< f32 >::getHorizontalAngle()</a>, <a class="el" href="vector3d_8h_source.html#l00247">irr::core::vector3d< f32 >::getInterpolated()</a>, <a class="el" href="vector3d_8h_source.html#l00259">irr::core::vector3d< f32 >::getInterpolated_quadratic()</a>, <a class="el" href="triangle3d_8h_source.html#l00169">irr::core::triangle3d< T >::getIntersectionOfPlaneWithLine()</a>, <a class="el" href="vector3d_8h_source.html#l00117">irr::core::vector3d< f32 >::getLength()</a>, <a class="el" href="vector3d_8h_source.html#l00122">irr::core::vector3d< f32 >::getLengthSQ()</a>, <a class="el" href="quaternion_8h_source.html#l00349">irr::core::quaternion::getMatrix()</a>, <a class="el" href="matrix4_8h_source.html#l00860">irr::core::CMatrix4< T >::getRotationDegrees()</a>, <a class="el" href="vector3d_8h_source.html#l00330">irr::core::vector3d< f32 >::getSphericalCoordinateAngles()</a>, <a class="el" href="vector3d_8h_source.html#l00425">irr::core::vector3d< T >::getSphericalCoordinateAngles()</a>, <a class="el" href="aabbox3d_8h_source.html#l00127">irr::core::aabbox3d< f32 >::getVolume()</a>, <a class="el" href="vector3d_8h_source.html#l00278">irr::core::vector3d< f32 >::interpolate()</a>, <a class="el" href="aabbox3d_8h_source.html#l00253">irr::core::aabbox3d< f32 >::intersectsWithLine()</a>, <a class="el" href="matrix4_8h_source.html#l01128">irr::core::CMatrix4< T >::inverseRotateVect()</a>, <a class="el" href="matrix4_8h_source.html#l01290">irr::core::CMatrix4< T >::inverseTranslateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00189">irr::core::vector3d< f32 >::invert()</a>, <a class="el" href="triangle3d_8h_source.html#l00089">irr::core::triangle3d< T >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00201">irr::core::aabbox3d< f32 >::isPointInside()</a>, <a class="el" href="aabbox3d_8h_source.html#l00212">irr::core::aabbox3d< f32 >::isPointTotalInside()</a>, <a class="el" href="vector3d_8h_source.html#l00168">irr::core::vector3d< f32 >::normalize()</a>, <a class="el" href="vector3d_8h_source.html#l00050">irr::core::vector3d< f32 >::operator*()</a>, <a class="el" href="vector3d_8h_source.html#l00051">irr::core::vector3d< f32 >::operator*=()</a>, <a class="el" href="vector3d_8h_source.html#l00040">irr::core::vector3d< f32 >::operator+()</a>, <a class="el" href="vector3d_8h_source.html#l00041">irr::core::vector3d< f32 >::operator+=()</a>, <a class="el" href="vector3d_8h_source.html#l00036">irr::core::vector3d< f32 >::operator-()</a>, <a class="el" href="vector3d_8h_source.html#l00046">irr::core::vector3d< f32 >::operator-=()</a>, <a class="el" href="vector3d_8h_source.html#l00055">irr::core::vector3d< f32 >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00420">irr::core::vector3d< T >::operator/()</a>, <a class="el" href="vector3d_8h_source.html#l00056">irr::core::vector3d< f32 >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00422">irr::core::vector3d< T >::operator/=()</a>, <a class="el" href="vector3d_8h_source.html#l00077">irr::core::vector3d< f32 >::operator<()</a>, <a class="el" href="vector3d_8h_source.html#l00061">irr::core::vector3d< f32 >::operator<=()</a>, <a class="el" href="vector3d_8h_source.html#l00038">irr::core::vector3d< f32 >::operator=()</a>, <a class="el" href="vector3d_8h_source.html#l00085">irr::core::vector3d< f32 >::operator>()</a>, <a class="el" href="vector3d_8h_source.html#l00069">irr::core::vector3d< f32 >::operator>=()</a>, <a class="el" href="quaternion_8h_source.html#l00194">irr::core::quaternion::quaternion()</a>, <a class="el" href="matrix4_8h_source.html#l01101">irr::core::CMatrix4< T >::rotateVect()</a>, <a class="el" href="vector3d_8h_source.html#l00215">irr::core::vector3d< f32 >::rotateXYBy()</a>, <a class="el" href="vector3d_8h_source.html#l00200">irr::core::vector3d< f32 >::rotateXZBy()</a>, <a class="el" href="vector3d_8h_source.html#l00230">irr::core::vector3d< f32 >::rotateYZBy()</a>, <a class="el" href="quaternion_8h_source.html#l00658">irr::core::quaternion::rotationFromTo()</a>, <a class="el" href="vector3d_8h_source.html#l00357">irr::core::vector3d< f32 >::rotationToDirection()</a>, <a class="el" href="quaternion_8h_source.html#l00487">irr::core::quaternion::set()</a>, <a class="el" href="vector3d_8h_source.html#l00113">irr::core::vector3d< f32 >::set()</a>, <a class="el" href="matrix4_8h_source.html#l00917">irr::core::CMatrix4< T >::setInverseRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00763">irr::core::CMatrix4< T >::setInverseTranslation()</a>, <a class="el" href="matrix4_8h_source.html#l00948">irr::core::CMatrix4< T >::setRotationAxisRadians()</a>, <a class="el" href="matrix4_8h_source.html#l02041">irr::core::CMatrix4< T >::setRotationCenter()</a>, <a class="el" href="matrix4_8h_source.html#l00825">irr::core::CMatrix4< T >::setRotationRadians()</a>, <a class="el" href="matrix4_8h_source.html#l00775">irr::core::CMatrix4< T >::setScale()</a>, <a class="el" href="matrix4_8h_source.html#l00751">irr::core::CMatrix4< T >::setTranslation()</a>, <a class="el" href="quaternion_8h_source.html#l00575">irr::core::quaternion::toAngleAxis()</a>, <a class="el" href="quaternion_8h_source.html#l00596">irr::core::quaternion::toEuler()</a>, <a class="el" href="matrix4_8h_source.html#l01217">irr::core::CMatrix4< T >::transformBoxEx()</a>, <a class="el" href="matrix4_8h_source.html#l01137">irr::core::CMatrix4< T >::transformVect()</a>, and <a class="el" href="matrix4_8h_source.html#l01298">irr::core::CMatrix4< T >::translateVect()</a>.</p> | ||
1679 | |||
1680 | </div> | ||
1681 | </div> | ||
1682 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
1683 | <li><a class="el" href="vector3d_8h_source.html">vector3d.h</a></li> | ||
1684 | </ul> | ||
1685 | </div> | ||
1686 | </div> | ||
1687 | <div id="nav-path" class="navpath"> | ||
1688 | <ul> | ||
1689 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
1690 | <li class="navelem"><a class="el" href="namespaceirr_1_1core.html">core</a> </li> | ||
1691 | <li class="navelem"><a class="el" href="classirr_1_1core_1_1vector3d.html">vector3d</a> </li> | ||
1692 | <!-- window showing the filter options --> | ||
1693 | <div id="MSearchSelectWindow" | ||
1694 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
1695 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
1696 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
1697 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
1698 | |||
1699 | <!-- iframe showing the search results (closed by default) --> | ||
1700 | <div id="MSearchResultsWindow"> | ||
1701 | <iframe src="javascript:void(0)" frameborder="0" | ||
1702 | name="MSearchResults" id="MSearchResults"> | ||
1703 | </iframe> | ||
1704 | </div> | ||
1705 | |||
1706 | |||
1707 | <li class="footer"> | ||
1708 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
1709 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:43 for Irrlicht 3D Engine by | ||
1710 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
1711 | </ul> | ||
1712 | </div> | ||
1713 | |||
1714 | |||
1715 | </body> | ||
1716 | </html> | ||