diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8/doc/html/classirr_1_1core_1_1dimension2d.html | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/doc/html/classirr_1_1core_1_1dimension2d.html | 769 |
1 files changed, 0 insertions, 769 deletions
diff --git a/libraries/irrlicht-1.8/doc/html/classirr_1_1core_1_1dimension2d.html b/libraries/irrlicht-1.8/doc/html/classirr_1_1core_1_1dimension2d.html deleted file mode 100644 index 60c13c5..0000000 --- a/libraries/irrlicht-1.8/doc/html/classirr_1_1core_1_1dimension2d.html +++ /dev/null | |||
@@ -1,769 +0,0 @@ | |||
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::dimension2d< 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_1dimension2d.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::dimension2d< T > Class Template Reference</div> </div> | ||
92 | </div> | ||
93 | <div class="contents"> | ||
94 | <!-- doxytag: class="irr::core::dimension2d" --> | ||
95 | <p>Specifies a 2 dimensional size. | ||
96 | <a href="classirr_1_1core_1_1dimension2d.html#details">More...</a></p> | ||
97 | |||
98 | <p><code>#include <<a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>></code></p> | ||
99 | |||
100 | <p><a href="classirr_1_1core_1_1dimension2d-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_1dimension2d.html#ae0c2a30ce6283602c454901ef0bd6a04">dimension2d</a> () | ||
105 | <dl class="el"><dd class="mdescRight">Default constructor for empty dimension. <a href="#ae0c2a30ce6283602c454901ef0bd6a04"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html#a9032aa6e975b32497ed3b570e3d03b76">dimension2d</a> (const T &width, const T &height) | ||
106 | <dl class="el"><dd class="mdescRight">Constructor with width and height. <a href="#a9032aa6e975b32497ed3b570e3d03b76"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html#a96f90d1d96392bf736a01f8def8aa7db">dimension2d</a> (const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > &other) | ||
107 | <li>template<class U > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a50814f5fc29d226104d5739350befb31">dimension2d</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > &other) | ||
108 | <dl class="el"><dd class="mdescRight">Use this constructor only where you are sure that the conversion is valid. <a href="#a50814f5fc29d226104d5739350befb31"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1dimension2d.html#a1454be218dbb43736488ff9f4236f0da">getArea</a> () const | ||
109 | <dl class="el"><dd class="mdescRight">Get area. <a href="#a1454be218dbb43736488ff9f4236f0da"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a80462f0ce0720f6fc61aed13873db817">getInterpolated</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> d) const | ||
110 | <dl class="el"><dd class="mdescRight">Get the interpolated dimension. <a href="#a80462f0ce0720f6fc61aed13873db817"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a0490f90fb05d89434cdf367a835abd28">getOptimalSize</a> (bool requirePowerOfTwo=true, bool requireSquare=false, bool larger=true, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> maxValue=0) const | ||
111 | <dl class="el"><dd class="mdescRight">Get the optimal size according to some properties. <a href="#a0490f90fb05d89434cdf367a835abd28"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1dimension2d.html#a76c0933b790d66cb3b0c7446bb45e089">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) const | ||
112 | <dl class="el"><dd class="mdescRight">Inequality operator. <a href="#a76c0933b790d66cb3b0c7446bb45e089"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1dimension2d.html#a91d1aee9d097f3b9e7259e7a79bbd19d">operator!=</a> (const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > &other) const | ||
113 | <li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a2e4febe786961e1fb3f0c1d61d65cc58">operator*</a> (const T &scale) const | ||
114 | <dl class="el"><dd class="mdescRight">Multiply width and height by scalar. <a href="#a2e4febe786961e1fb3f0c1d61d65cc58"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#acd311b8270b3c95791edf9a5b2869b1b">operator*=</a> (const T &scale) | ||
115 | <dl class="el"><dd class="mdescRight">Multiply width and height by scalar. <a href="#acd311b8270b3c95791edf9a5b2869b1b"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a6f3010fe9e2e9acbf56a1ec15a142765">operator+</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) const | ||
116 | <dl class="el"><dd class="mdescRight">Add two dimensions. <a href="#a6f3010fe9e2e9acbf56a1ec15a142765"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#ae233386e59e95f213367922f7638bc46">operator+=</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) | ||
117 | <dl class="el"><dd class="mdescRight">Add another dimension to this one. <a href="#ae233386e59e95f213367922f7638bc46"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#a323cdb56e179c78f37f5016e49587d2c">operator-</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) const | ||
118 | <dl class="el"><dd class="mdescRight">Subtract one dimension from another. <a href="#a323cdb56e179c78f37f5016e49587d2c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#af5bb67163a3cdbcbceb9eda015382bfe">operator-=</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) | ||
119 | <dl class="el"><dd class="mdescRight">Subtract a dimension from this one. <a href="#af5bb67163a3cdbcbceb9eda015382bfe"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > <a class="el" href="classirr_1_1core_1_1dimension2d.html#ab5539b955741b270081559f82c413b70">operator/</a> (const T &scale) const | ||
120 | <dl class="el"><dd class="mdescRight">Divide width and height by scalar. <a href="#ab5539b955741b270081559f82c413b70"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#ac581fbe07dabf2a342314c7a73f862c8">operator/=</a> (const T &scale) | ||
121 | <dl class="el"><dd class="mdescRight">Divide width and height by scalar. <a href="#ac581fbe07dabf2a342314c7a73f862c8"></a><br/></dl><li>template<class U > <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#a22388905976bbcd11f32a765a601a4fd">operator=</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > &other) | ||
122 | <li>bool <a class="el" href="classirr_1_1core_1_1dimension2d.html#aa8e64f2adf3d069324e6159cfb6aa82d">operator==</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > &other) const | ||
123 | <dl class="el"><dd class="mdescRight">Equality operator. <a href="#aa8e64f2adf3d069324e6159cfb6aa82d"></a><br/></dl><li>bool <a class="el" href="classirr_1_1core_1_1dimension2d.html#a34c99e1d9d11c1e20dde2ab6a3a0bfb9">operator==</a> (const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > &other) const | ||
124 | <li><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & <a class="el" href="classirr_1_1core_1_1dimension2d.html#a81860d7ff5a888a37af84f7bbbad7c91">set</a> (const T &width, const T &height) | ||
125 | <dl class="el"><dd class="mdescRight">Set to new values. <a href="#a81860d7ff5a888a37af84f7bbbad7c91"></a><br/></dl></ul> | ||
126 | <h2><a name="pub-attribs"></a> | ||
127 | Public Attributes</h2> | ||
128 | <ul> | ||
129 | <li>T <a class="el" href="classirr_1_1core_1_1dimension2d.html#a89b253523d31336c6b2a6a56dfd48a6b">Height</a> | ||
130 | <dl class="el"><dd class="mdescRight">Height of the dimension. <a href="#a89b253523d31336c6b2a6a56dfd48a6b"></a><br/></dl><li>T <a class="el" href="classirr_1_1core_1_1dimension2d.html#a0399dcc023c19d381d1a192596107db4">Width</a> | ||
131 | <dl class="el"><dd class="mdescRight">Width of the dimension. <a href="#a0399dcc023c19d381d1a192596107db4"></a><br/></dl></ul> | ||
132 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
133 | <div class="textblock"><h3>template<class T><br/> | ||
134 | class irr::core::dimension2d< T ></h3> | ||
135 | |||
136 | <p>Specifies a 2 dimensional size. </p> | ||
137 | |||
138 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00020">20</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
139 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
140 | <a class="anchor" id="ae0c2a30ce6283602c454901ef0bd6a04"></a><!-- doxytag: member="irr::core::dimension2d::dimension2d" ref="ae0c2a30ce6283602c454901ef0bd6a04" args="()" --> | ||
141 | <div class="memitem"> | ||
142 | <div class="memproto"> | ||
143 | <div class="memtemplate"> | ||
144 | template<class T> </div> | ||
145 | <table class="memname"> | ||
146 | <tr> | ||
147 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a> </td> | ||
148 | <td>(</td> | ||
149 | <td class="paramname"></td><td>)</td> | ||
150 | <td><code> [inline]</code></td> | ||
151 | </tr> | ||
152 | </table> | ||
153 | </div> | ||
154 | <div class="memdoc"> | ||
155 | |||
156 | <p>Default constructor for empty dimension. </p> | ||
157 | |||
158 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00024">24</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
159 | |||
160 | </div> | ||
161 | </div> | ||
162 | <a class="anchor" id="a9032aa6e975b32497ed3b570e3d03b76"></a><!-- doxytag: member="irr::core::dimension2d::dimension2d" ref="a9032aa6e975b32497ed3b570e3d03b76" args="(const T &width, const T &height)" --> | ||
163 | <div class="memitem"> | ||
164 | <div class="memproto"> | ||
165 | <div class="memtemplate"> | ||
166 | template<class T> </div> | ||
167 | <table class="memname"> | ||
168 | <tr> | ||
169 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a> </td> | ||
170 | <td>(</td> | ||
171 | <td class="paramtype">const T & </td> | ||
172 | <td class="paramname"><em>width</em>, </td> | ||
173 | </tr> | ||
174 | <tr> | ||
175 | <td class="paramkey"></td> | ||
176 | <td></td> | ||
177 | <td class="paramtype">const T & </td> | ||
178 | <td class="paramname"><em>height</em> </td> | ||
179 | </tr> | ||
180 | <tr> | ||
181 | <td></td> | ||
182 | <td>)</td> | ||
183 | <td></td><td><code> [inline]</code></td> | ||
184 | </tr> | ||
185 | </table> | ||
186 | </div> | ||
187 | <div class="memdoc"> | ||
188 | |||
189 | <p>Constructor with width and height. </p> | ||
190 | |||
191 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00026">26</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
192 | |||
193 | </div> | ||
194 | </div> | ||
195 | <a class="anchor" id="a96f90d1d96392bf736a01f8def8aa7db"></a><!-- doxytag: member="irr::core::dimension2d::dimension2d" ref="a96f90d1d96392bf736a01f8def8aa7db" args="(const vector2d< T > &other)" --> | ||
196 | <div class="memitem"> | ||
197 | <div class="memproto"> | ||
198 | <div class="memtemplate"> | ||
199 | template<class T> </div> | ||
200 | <table class="memname"> | ||
201 | <tr> | ||
202 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a> </td> | ||
203 | <td>(</td> | ||
204 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > & </td> | ||
205 | <td class="paramname"><em>other</em></td><td>)</td> | ||
206 | <td></td> | ||
207 | </tr> | ||
208 | </table> | ||
209 | </div> | ||
210 | <div class="memdoc"> | ||
211 | |||
212 | <p>Definition at line <a class="el" href="vector2d_8h_source.html#l00333">333</a> of file <a class="el" href="vector2d_8h_source.html">vector2d.h</a>.</p> | ||
213 | |||
214 | </div> | ||
215 | </div> | ||
216 | <a class="anchor" id="a50814f5fc29d226104d5739350befb31"></a><!-- doxytag: member="irr::core::dimension2d::dimension2d" ref="a50814f5fc29d226104d5739350befb31" args="(const dimension2d< U > &other)" --> | ||
217 | <div class="memitem"> | ||
218 | <div class="memproto"> | ||
219 | <div class="memtemplate"> | ||
220 | template<class T> </div> | ||
221 | <div class="memtemplate"> | ||
222 | template<class U > </div> | ||
223 | <table class="memname"> | ||
224 | <tr> | ||
225 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a> </td> | ||
226 | <td>(</td> | ||
227 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > & </td> | ||
228 | <td class="paramname"><em>other</em></td><td>)</td> | ||
229 | <td><code> [inline, explicit]</code></td> | ||
230 | </tr> | ||
231 | </table> | ||
232 | </div> | ||
233 | <div class="memdoc"> | ||
234 | |||
235 | <p>Use this constructor only where you are sure that the conversion is valid. </p> | ||
236 | |||
237 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00033">33</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
238 | |||
239 | </div> | ||
240 | </div> | ||
241 | <hr/><h2>Member Function Documentation</h2> | ||
242 | <a class="anchor" id="a1454be218dbb43736488ff9f4236f0da"></a><!-- doxytag: member="irr::core::dimension2d::getArea" ref="a1454be218dbb43736488ff9f4236f0da" args="() const " --> | ||
243 | <div class="memitem"> | ||
244 | <div class="memproto"> | ||
245 | <div class="memtemplate"> | ||
246 | template<class T> </div> | ||
247 | <table class="memname"> | ||
248 | <tr> | ||
249 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::getArea </td> | ||
250 | <td>(</td> | ||
251 | <td class="paramname"></td><td>)</td> | ||
252 | <td> const<code> [inline]</code></td> | ||
253 | </tr> | ||
254 | </table> | ||
255 | </div> | ||
256 | <div class="memdoc"> | ||
257 | |||
258 | <p>Get area. </p> | ||
259 | |||
260 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00130">130</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
261 | |||
262 | </div> | ||
263 | </div> | ||
264 | <a class="anchor" id="a80462f0ce0720f6fc61aed13873db817"></a><!-- doxytag: member="irr::core::dimension2d::getInterpolated" ref="a80462f0ce0720f6fc61aed13873db817" args="(const dimension2d< T > &other, f32 d) const " --> | ||
265 | <div class="memitem"> | ||
266 | <div class="memproto"> | ||
267 | <div class="memtemplate"> | ||
268 | template<class T> </div> | ||
269 | <table class="memname"> | ||
270 | <tr> | ||
271 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::getInterpolated </td> | ||
272 | <td>(</td> | ||
273 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
274 | <td class="paramname"><em>other</em>, </td> | ||
275 | </tr> | ||
276 | <tr> | ||
277 | <td class="paramkey"></td> | ||
278 | <td></td> | ||
279 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> </td> | ||
280 | <td class="paramname"><em>d</em> </td> | ||
281 | </tr> | ||
282 | <tr> | ||
283 | <td></td> | ||
284 | <td>)</td> | ||
285 | <td></td><td> const<code> [inline]</code></td> | ||
286 | </tr> | ||
287 | </table> | ||
288 | </div> | ||
289 | <div class="memdoc"> | ||
290 | |||
291 | <p>Get the interpolated dimension. </p> | ||
292 | <dl><dt><b>Parameters:</b></dt><dd> | ||
293 | <table class="params"> | ||
294 | <tr><td class="paramname">other</td><td>Other dimension to interpolate with. </td></tr> | ||
295 | <tr><td class="paramname">d</td><td>Value between 0.0f and 1.0f. </td></tr> | ||
296 | </table> | ||
297 | </dd> | ||
298 | </dl> | ||
299 | <dl class="return"><dt><b>Returns:</b></dt><dd>Interpolated dimension. </dd></dl> | ||
300 | |||
301 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00196">196</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
302 | |||
303 | </div> | ||
304 | </div> | ||
305 | <a class="anchor" id="a0490f90fb05d89434cdf367a835abd28"></a><!-- doxytag: member="irr::core::dimension2d::getOptimalSize" ref="a0490f90fb05d89434cdf367a835abd28" args="(bool requirePowerOfTwo=true, bool requireSquare=false, bool larger=true, u32 maxValue=0) const " --> | ||
306 | <div class="memitem"> | ||
307 | <div class="memproto"> | ||
308 | <div class="memtemplate"> | ||
309 | template<class T> </div> | ||
310 | <table class="memname"> | ||
311 | <tr> | ||
312 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::getOptimalSize </td> | ||
313 | <td>(</td> | ||
314 | <td class="paramtype">bool </td> | ||
315 | <td class="paramname"><em>requirePowerOfTwo</em> = <code>true</code>, </td> | ||
316 | </tr> | ||
317 | <tr> | ||
318 | <td class="paramkey"></td> | ||
319 | <td></td> | ||
320 | <td class="paramtype">bool </td> | ||
321 | <td class="paramname"><em>requireSquare</em> = <code>false</code>, </td> | ||
322 | </tr> | ||
323 | <tr> | ||
324 | <td class="paramkey"></td> | ||
325 | <td></td> | ||
326 | <td class="paramtype">bool </td> | ||
327 | <td class="paramname"><em>larger</em> = <code>true</code>, </td> | ||
328 | </tr> | ||
329 | <tr> | ||
330 | <td class="paramkey"></td> | ||
331 | <td></td> | ||
332 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
333 | <td class="paramname"><em>maxValue</em> = <code>0</code> </td> | ||
334 | </tr> | ||
335 | <tr> | ||
336 | <td></td> | ||
337 | <td>)</td> | ||
338 | <td></td><td> const<code> [inline]</code></td> | ||
339 | </tr> | ||
340 | </table> | ||
341 | </div> | ||
342 | <div class="memdoc"> | ||
343 | |||
344 | <p>Get the optimal size according to some properties. </p> | ||
345 | <p>This is a function often used for texture dimension calculations. The function returns the next larger or smaller dimension which is a power-of-two dimension (2^n,2^m) and/or square (Width=Height). </p> | ||
346 | <dl><dt><b>Parameters:</b></dt><dd> | ||
347 | <table class="params"> | ||
348 | <tr><td class="paramname">requirePowerOfTwo</td><td>Forces the result to use only powers of two as values. </td></tr> | ||
349 | <tr><td class="paramname">requireSquare</td><td>Makes width==height in the result </td></tr> | ||
350 | <tr><td class="paramname">larger</td><td>Choose whether the result is larger or smaller than the current dimension. If one dimension need not be changed it is kept with any value of larger. </td></tr> | ||
351 | <tr><td class="paramname">maxValue</td><td>Maximum texturesize. if value > 0 size is clamped to maxValue </td></tr> | ||
352 | </table> | ||
353 | </dd> | ||
354 | </dl> | ||
355 | <dl class="return"><dt><b>Returns:</b></dt><dd>The optimal dimension under the given constraints. </dd></dl> | ||
356 | |||
357 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00150">150</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
358 | |||
359 | </div> | ||
360 | </div> | ||
361 | <a class="anchor" id="a76c0933b790d66cb3b0c7446bb45e089"></a><!-- doxytag: member="irr::core::dimension2d::operator!=" ref="a76c0933b790d66cb3b0c7446bb45e089" args="(const dimension2d< T > &other) const " --> | ||
362 | <div class="memitem"> | ||
363 | <div class="memproto"> | ||
364 | <div class="memtemplate"> | ||
365 | template<class T> </div> | ||
366 | <table class="memname"> | ||
367 | <tr> | ||
368 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator!= </td> | ||
369 | <td>(</td> | ||
370 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
371 | <td class="paramname"><em>other</em></td><td>)</td> | ||
372 | <td> const<code> [inline]</code></td> | ||
373 | </tr> | ||
374 | </table> | ||
375 | </div> | ||
376 | <div class="memdoc"> | ||
377 | |||
378 | <p>Inequality operator. </p> | ||
379 | |||
380 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00053">53</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
381 | |||
382 | </div> | ||
383 | </div> | ||
384 | <a class="anchor" id="a91d1aee9d097f3b9e7259e7a79bbd19d"></a><!-- doxytag: member="irr::core::dimension2d::operator!=" ref="a91d1aee9d097f3b9e7259e7a79bbd19d" args="(const vector2d< T > &other) const " --> | ||
385 | <div class="memitem"> | ||
386 | <div class="memproto"> | ||
387 | <div class="memtemplate"> | ||
388 | template<class T> </div> | ||
389 | <table class="memname"> | ||
390 | <tr> | ||
391 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator!= </td> | ||
392 | <td>(</td> | ||
393 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > & </td> | ||
394 | <td class="paramname"><em>other</em></td><td>)</td> | ||
395 | <td> const<code> [inline]</code></td> | ||
396 | </tr> | ||
397 | </table> | ||
398 | </div> | ||
399 | <div class="memdoc"> | ||
400 | |||
401 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00060">60</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
402 | |||
403 | </div> | ||
404 | </div> | ||
405 | <a class="anchor" id="a2e4febe786961e1fb3f0c1d61d65cc58"></a><!-- doxytag: member="irr::core::dimension2d::operator*" ref="a2e4febe786961e1fb3f0c1d61d65cc58" args="(const T &scale) const " --> | ||
406 | <div class="memitem"> | ||
407 | <div class="memproto"> | ||
408 | <div class="memtemplate"> | ||
409 | template<class T> </div> | ||
410 | <table class="memname"> | ||
411 | <tr> | ||
412 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator* </td> | ||
413 | <td>(</td> | ||
414 | <td class="paramtype">const T & </td> | ||
415 | <td class="paramname"><em>scale</em></td><td>)</td> | ||
416 | <td> const<code> [inline]</code></td> | ||
417 | </tr> | ||
418 | </table> | ||
419 | </div> | ||
420 | <div class="memdoc"> | ||
421 | |||
422 | <p>Multiply width and height by scalar. </p> | ||
423 | |||
424 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00096">96</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
425 | |||
426 | </div> | ||
427 | </div> | ||
428 | <a class="anchor" id="acd311b8270b3c95791edf9a5b2869b1b"></a><!-- doxytag: member="irr::core::dimension2d::operator*=" ref="acd311b8270b3c95791edf9a5b2869b1b" args="(const T &scale)" --> | ||
429 | <div class="memitem"> | ||
430 | <div class="memproto"> | ||
431 | <div class="memtemplate"> | ||
432 | template<class T> </div> | ||
433 | <table class="memname"> | ||
434 | <tr> | ||
435 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator*= </td> | ||
436 | <td>(</td> | ||
437 | <td class="paramtype">const T & </td> | ||
438 | <td class="paramname"><em>scale</em></td><td>)</td> | ||
439 | <td><code> [inline]</code></td> | ||
440 | </tr> | ||
441 | </table> | ||
442 | </div> | ||
443 | <div class="memdoc"> | ||
444 | |||
445 | <p>Multiply width and height by scalar. </p> | ||
446 | |||
447 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00088">88</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
448 | |||
449 | </div> | ||
450 | </div> | ||
451 | <a class="anchor" id="a6f3010fe9e2e9acbf56a1ec15a142765"></a><!-- doxytag: member="irr::core::dimension2d::operator+" ref="a6f3010fe9e2e9acbf56a1ec15a142765" args="(const dimension2d< T > &other) const " --> | ||
452 | <div class="memitem"> | ||
453 | <div class="memproto"> | ||
454 | <div class="memtemplate"> | ||
455 | template<class T> </div> | ||
456 | <table class="memname"> | ||
457 | <tr> | ||
458 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator+ </td> | ||
459 | <td>(</td> | ||
460 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
461 | <td class="paramname"><em>other</em></td><td>)</td> | ||
462 | <td> const<code> [inline]</code></td> | ||
463 | </tr> | ||
464 | </table> | ||
465 | </div> | ||
466 | <div class="memdoc"> | ||
467 | |||
468 | <p>Add two dimensions. </p> | ||
469 | |||
470 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00110">110</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
471 | |||
472 | </div> | ||
473 | </div> | ||
474 | <a class="anchor" id="ae233386e59e95f213367922f7638bc46"></a><!-- doxytag: member="irr::core::dimension2d::operator+=" ref="ae233386e59e95f213367922f7638bc46" args="(const dimension2d< T > &other)" --> | ||
475 | <div class="memitem"> | ||
476 | <div class="memproto"> | ||
477 | <div class="memtemplate"> | ||
478 | template<class T> </div> | ||
479 | <table class="memname"> | ||
480 | <tr> | ||
481 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator+= </td> | ||
482 | <td>(</td> | ||
483 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
484 | <td class="paramname"><em>other</em></td><td>)</td> | ||
485 | <td><code> [inline]</code></td> | ||
486 | </tr> | ||
487 | </table> | ||
488 | </div> | ||
489 | <div class="memdoc"> | ||
490 | |||
491 | <p>Add another dimension to this one. </p> | ||
492 | |||
493 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00102">102</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
494 | |||
495 | </div> | ||
496 | </div> | ||
497 | <a class="anchor" id="a323cdb56e179c78f37f5016e49587d2c"></a><!-- doxytag: member="irr::core::dimension2d::operator-" ref="a323cdb56e179c78f37f5016e49587d2c" args="(const dimension2d< T > &other) const " --> | ||
498 | <div class="memitem"> | ||
499 | <div class="memproto"> | ||
500 | <div class="memtemplate"> | ||
501 | template<class T> </div> | ||
502 | <table class="memname"> | ||
503 | <tr> | ||
504 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator- </td> | ||
505 | <td>(</td> | ||
506 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
507 | <td class="paramname"><em>other</em></td><td>)</td> | ||
508 | <td> const<code> [inline]</code></td> | ||
509 | </tr> | ||
510 | </table> | ||
511 | </div> | ||
512 | <div class="memdoc"> | ||
513 | |||
514 | <p>Subtract one dimension from another. </p> | ||
515 | |||
516 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00124">124</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
517 | |||
518 | </div> | ||
519 | </div> | ||
520 | <a class="anchor" id="af5bb67163a3cdbcbceb9eda015382bfe"></a><!-- doxytag: member="irr::core::dimension2d::operator-=" ref="af5bb67163a3cdbcbceb9eda015382bfe" args="(const dimension2d< T > &other)" --> | ||
521 | <div class="memitem"> | ||
522 | <div class="memproto"> | ||
523 | <div class="memtemplate"> | ||
524 | template<class T> </div> | ||
525 | <table class="memname"> | ||
526 | <tr> | ||
527 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator-= </td> | ||
528 | <td>(</td> | ||
529 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
530 | <td class="paramname"><em>other</em></td><td>)</td> | ||
531 | <td><code> [inline]</code></td> | ||
532 | </tr> | ||
533 | </table> | ||
534 | </div> | ||
535 | <div class="memdoc"> | ||
536 | |||
537 | <p>Subtract a dimension from this one. </p> | ||
538 | |||
539 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00116">116</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
540 | |||
541 | </div> | ||
542 | </div> | ||
543 | <a class="anchor" id="ab5539b955741b270081559f82c413b70"></a><!-- doxytag: member="irr::core::dimension2d::operator/" ref="ab5539b955741b270081559f82c413b70" args="(const T &scale) 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_1dimension2d.html">dimension2d</a><T> <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator/ </td> | ||
551 | <td>(</td> | ||
552 | <td class="paramtype">const T & </td> | ||
553 | <td class="paramname"><em>scale</em></td><td>)</td> | ||
554 | <td> const<code> [inline]</code></td> | ||
555 | </tr> | ||
556 | </table> | ||
557 | </div> | ||
558 | <div class="memdoc"> | ||
559 | |||
560 | <p>Divide width and height by scalar. </p> | ||
561 | |||
562 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00082">82</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
563 | |||
564 | </div> | ||
565 | </div> | ||
566 | <a class="anchor" id="ac581fbe07dabf2a342314c7a73f862c8"></a><!-- doxytag: member="irr::core::dimension2d::operator/=" ref="ac581fbe07dabf2a342314c7a73f862c8" args="(const T &scale)" --> | ||
567 | <div class="memitem"> | ||
568 | <div class="memproto"> | ||
569 | <div class="memtemplate"> | ||
570 | template<class T> </div> | ||
571 | <table class="memname"> | ||
572 | <tr> | ||
573 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator/= </td> | ||
574 | <td>(</td> | ||
575 | <td class="paramtype">const T & </td> | ||
576 | <td class="paramname"><em>scale</em></td><td>)</td> | ||
577 | <td><code> [inline]</code></td> | ||
578 | </tr> | ||
579 | </table> | ||
580 | </div> | ||
581 | <div class="memdoc"> | ||
582 | |||
583 | <p>Divide width and height by scalar. </p> | ||
584 | |||
585 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00074">74</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
586 | |||
587 | </div> | ||
588 | </div> | ||
589 | <a class="anchor" id="a22388905976bbcd11f32a765a601a4fd"></a><!-- doxytag: member="irr::core::dimension2d::operator=" ref="a22388905976bbcd11f32a765a601a4fd" args="(const dimension2d< U > &other)" --> | ||
590 | <div class="memitem"> | ||
591 | <div class="memproto"> | ||
592 | <div class="memtemplate"> | ||
593 | template<class T> </div> | ||
594 | <div class="memtemplate"> | ||
595 | template<class U > </div> | ||
596 | <table class="memname"> | ||
597 | <tr> | ||
598 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator= </td> | ||
599 | <td>(</td> | ||
600 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< U > & </td> | ||
601 | <td class="paramname"><em>other</em></td><td>)</td> | ||
602 | <td><code> [inline]</code></td> | ||
603 | </tr> | ||
604 | </table> | ||
605 | </div> | ||
606 | <div class="memdoc"> | ||
607 | |||
608 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00037">37</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
609 | |||
610 | </div> | ||
611 | </div> | ||
612 | <a class="anchor" id="aa8e64f2adf3d069324e6159cfb6aa82d"></a><!-- doxytag: member="irr::core::dimension2d::operator==" ref="aa8e64f2adf3d069324e6159cfb6aa82d" args="(const dimension2d< T > &other) const " --> | ||
613 | <div class="memitem"> | ||
614 | <div class="memproto"> | ||
615 | <div class="memtemplate"> | ||
616 | template<class T> </div> | ||
617 | <table class="memname"> | ||
618 | <tr> | ||
619 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator== </td> | ||
620 | <td>(</td> | ||
621 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a>< T > & </td> | ||
622 | <td class="paramname"><em>other</em></td><td>)</td> | ||
623 | <td> const<code> [inline]</code></td> | ||
624 | </tr> | ||
625 | </table> | ||
626 | </div> | ||
627 | <div class="memdoc"> | ||
628 | |||
629 | <p>Equality operator. </p> | ||
630 | |||
631 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00046">46</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
632 | |||
633 | </div> | ||
634 | </div> | ||
635 | <a class="anchor" id="a34c99e1d9d11c1e20dde2ab6a3a0bfb9"></a><!-- doxytag: member="irr::core::dimension2d::operator==" ref="a34c99e1d9d11c1e20dde2ab6a3a0bfb9" args="(const vector2d< T > &other) const " --> | ||
636 | <div class="memitem"> | ||
637 | <div class="memproto"> | ||
638 | <div class="memtemplate"> | ||
639 | template<class T> </div> | ||
640 | <table class="memname"> | ||
641 | <tr> | ||
642 | <td class="memname">bool <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::operator== </td> | ||
643 | <td>(</td> | ||
644 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector2d.html">vector2d</a>< T > & </td> | ||
645 | <td class="paramname"><em>other</em></td><td>)</td> | ||
646 | <td> const</td> | ||
647 | </tr> | ||
648 | </table> | ||
649 | </div> | ||
650 | <div class="memdoc"> | ||
651 | |||
652 | <p>Definition at line <a class="el" href="vector2d_8h_source.html#l00336">336</a> of file <a class="el" href="vector2d_8h_source.html">vector2d.h</a>.</p> | ||
653 | |||
654 | <p>References <a class="el" href="vector2d_8h_source.html#l00316">irr::core::vector2d< T >::X</a>, and <a class="el" href="vector2d_8h_source.html#l00319">irr::core::vector2d< T >::Y</a>.</p> | ||
655 | |||
656 | </div> | ||
657 | </div> | ||
658 | <a class="anchor" id="a81860d7ff5a888a37af84f7bbbad7c91"></a><!-- doxytag: member="irr::core::dimension2d::set" ref="a81860d7ff5a888a37af84f7bbbad7c91" args="(const T &width, const T &height)" --> | ||
659 | <div class="memitem"> | ||
660 | <div class="memproto"> | ||
661 | <div class="memtemplate"> | ||
662 | template<class T> </div> | ||
663 | <table class="memname"> | ||
664 | <tr> | ||
665 | <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a><T>& <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::set </td> | ||
666 | <td>(</td> | ||
667 | <td class="paramtype">const T & </td> | ||
668 | <td class="paramname"><em>width</em>, </td> | ||
669 | </tr> | ||
670 | <tr> | ||
671 | <td class="paramkey"></td> | ||
672 | <td></td> | ||
673 | <td class="paramtype">const T & </td> | ||
674 | <td class="paramname"><em>height</em> </td> | ||
675 | </tr> | ||
676 | <tr> | ||
677 | <td></td> | ||
678 | <td>)</td> | ||
679 | <td></td><td><code> [inline]</code></td> | ||
680 | </tr> | ||
681 | </table> | ||
682 | </div> | ||
683 | <div class="memdoc"> | ||
684 | |||
685 | <p>Set to new values. </p> | ||
686 | |||
687 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00066">66</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
688 | |||
689 | </div> | ||
690 | </div> | ||
691 | <hr/><h2>Member Data Documentation</h2> | ||
692 | <a class="anchor" id="a89b253523d31336c6b2a6a56dfd48a6b"></a><!-- doxytag: member="irr::core::dimension2d::Height" ref="a89b253523d31336c6b2a6a56dfd48a6b" args="" --> | ||
693 | <div class="memitem"> | ||
694 | <div class="memproto"> | ||
695 | <div class="memtemplate"> | ||
696 | template<class T> </div> | ||
697 | <table class="memname"> | ||
698 | <tr> | ||
699 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html#a89b253523d31336c6b2a6a56dfd48a6b">Height</a></td> | ||
700 | </tr> | ||
701 | </table> | ||
702 | </div> | ||
703 | <div class="memdoc"> | ||
704 | |||
705 | <p>Height of the dimension. </p> | ||
706 | |||
707 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00206">206</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
708 | |||
709 | <p>Referenced by <a class="el" href="dimension2d_8h_source.html#l00130">irr::core::dimension2d< u32 >::getArea()</a>, <a class="el" href="dimension2d_8h_source.html#l00196">irr::core::dimension2d< u32 >::getInterpolated()</a>, <a class="el" href="dimension2d_8h_source.html#l00150">irr::core::dimension2d< u32 >::getOptimalSize()</a>, <a class="el" href="dimension2d_8h_source.html#l00096">irr::core::dimension2d< u32 >::operator*()</a>, <a class="el" href="dimension2d_8h_source.html#l00088">irr::core::dimension2d< u32 >::operator*=()</a>, <a class="el" href="vector2d_8h_source.html#l00044">irr::core::vector2d< f32 >::operator+()</a>, <a class="el" href="dimension2d_8h_source.html#l00110">irr::core::dimension2d< u32 >::operator+()</a>, <a class="el" href="vector2d_8h_source.html#l00048">irr::core::vector2d< f32 >::operator+=()</a>, <a class="el" href="dimension2d_8h_source.html#l00102">irr::core::dimension2d< u32 >::operator+=()</a>, <a class="el" href="vector2d_8h_source.html#l00051">irr::core::vector2d< f32 >::operator-()</a>, <a class="el" href="dimension2d_8h_source.html#l00124">irr::core::dimension2d< u32 >::operator-()</a>, <a class="el" href="vector2d_8h_source.html#l00055">irr::core::vector2d< f32 >::operator-=()</a>, <a class="el" href="dimension2d_8h_source.html#l00116">irr::core::dimension2d< u32 >::operator-=()</a>, <a class="el" href="dimension2d_8h_source.html#l00082">irr::core::dimension2d< u32 >::operator/()</a>, <a class="el" href="dimension2d_8h_source.html#l00074">irr::core::dimension2d< u32 >::operator/=()</a>, <a class="el" href="dimension2d_8h_source.html#l00037">irr::core::dimension2d< u32 >::operator=()</a>, <a class="el" href="vector2d_8h_source.html#l00041">irr::core::vector2d< f32 >::operator=()</a>, <a class="el" href="dimension2d_8h_source.html#l00046">irr::core::dimension2d< u32 >::operator==()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00765">irr::gui::IGUIElement::serializeAttributes()</a>, <a class="el" href="dimension2d_8h_source.html#l00066">irr::core::dimension2d< u32 >::set()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00179">irr::gui::IGUIElement::setMinSize()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00081">irr::gui::IGUIElement::setRelativePosition()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00119">irr::gui::IGUIElement::setRelativePositionProportional()</a>.</p> | ||
710 | |||
711 | </div> | ||
712 | </div> | ||
713 | <a class="anchor" id="a0399dcc023c19d381d1a192596107db4"></a><!-- doxytag: member="irr::core::dimension2d::Width" ref="a0399dcc023c19d381d1a192596107db4" args="" --> | ||
714 | <div class="memitem"> | ||
715 | <div class="memproto"> | ||
716 | <div class="memtemplate"> | ||
717 | template<class T> </div> | ||
718 | <table class="memname"> | ||
719 | <tr> | ||
720 | <td class="memname">T <a class="el" href="classirr_1_1core_1_1dimension2d.html">irr::core::dimension2d</a>< T >::<a class="el" href="classirr_1_1core_1_1dimension2d.html#a0399dcc023c19d381d1a192596107db4">Width</a></td> | ||
721 | </tr> | ||
722 | </table> | ||
723 | </div> | ||
724 | <div class="memdoc"> | ||
725 | |||
726 | <p>Width of the dimension. </p> | ||
727 | |||
728 | <p>Definition at line <a class="el" href="dimension2d_8h_source.html#l00204">204</a> of file <a class="el" href="dimension2d_8h_source.html">dimension2d.h</a>.</p> | ||
729 | |||
730 | <p>Referenced by <a class="el" href="dimension2d_8h_source.html#l00130">irr::core::dimension2d< u32 >::getArea()</a>, <a class="el" href="dimension2d_8h_source.html#l00196">irr::core::dimension2d< u32 >::getInterpolated()</a>, <a class="el" href="dimension2d_8h_source.html#l00150">irr::core::dimension2d< u32 >::getOptimalSize()</a>, <a class="el" href="dimension2d_8h_source.html#l00096">irr::core::dimension2d< u32 >::operator*()</a>, <a class="el" href="dimension2d_8h_source.html#l00088">irr::core::dimension2d< u32 >::operator*=()</a>, <a class="el" href="vector2d_8h_source.html#l00044">irr::core::vector2d< f32 >::operator+()</a>, <a class="el" href="dimension2d_8h_source.html#l00110">irr::core::dimension2d< u32 >::operator+()</a>, <a class="el" href="vector2d_8h_source.html#l00048">irr::core::vector2d< f32 >::operator+=()</a>, <a class="el" href="dimension2d_8h_source.html#l00102">irr::core::dimension2d< u32 >::operator+=()</a>, <a class="el" href="vector2d_8h_source.html#l00051">irr::core::vector2d< f32 >::operator-()</a>, <a class="el" href="dimension2d_8h_source.html#l00124">irr::core::dimension2d< u32 >::operator-()</a>, <a class="el" href="vector2d_8h_source.html#l00055">irr::core::vector2d< f32 >::operator-=()</a>, <a class="el" href="dimension2d_8h_source.html#l00116">irr::core::dimension2d< u32 >::operator-=()</a>, <a class="el" href="dimension2d_8h_source.html#l00082">irr::core::dimension2d< u32 >::operator/()</a>, <a class="el" href="dimension2d_8h_source.html#l00074">irr::core::dimension2d< u32 >::operator/=()</a>, <a class="el" href="dimension2d_8h_source.html#l00037">irr::core::dimension2d< u32 >::operator=()</a>, <a class="el" href="vector2d_8h_source.html#l00041">irr::core::vector2d< f32 >::operator=()</a>, <a class="el" href="dimension2d_8h_source.html#l00046">irr::core::dimension2d< u32 >::operator==()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00831">irr::gui::IGUIElement::recalculateAbsolutePosition()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00765">irr::gui::IGUIElement::serializeAttributes()</a>, <a class="el" href="dimension2d_8h_source.html#l00066">irr::core::dimension2d< u32 >::set()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00179">irr::gui::IGUIElement::setMinSize()</a>, <a class="el" href="_i_g_u_i_element_8h_source.html#l00081">irr::gui::IGUIElement::setRelativePosition()</a>, and <a class="el" href="_i_g_u_i_element_8h_source.html#l00119">irr::gui::IGUIElement::setRelativePositionProportional()</a>.</p> | ||
731 | |||
732 | </div> | ||
733 | </div> | ||
734 | <hr/>The documentation for this class was generated from the following files:<ul> | ||
735 | <li><a class="el" href="dimension2d_8h_source.html">dimension2d.h</a></li> | ||
736 | <li><a class="el" href="vector2d_8h_source.html">vector2d.h</a></li> | ||
737 | </ul> | ||
738 | </div> | ||
739 | </div> | ||
740 | <div id="nav-path" class="navpath"> | ||
741 | <ul> | ||
742 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
743 | <li class="navelem"><a class="el" href="namespaceirr_1_1core.html">core</a> </li> | ||
744 | <li class="navelem"><a class="el" href="classirr_1_1core_1_1dimension2d.html">dimension2d</a> </li> | ||
745 | <!-- window showing the filter options --> | ||
746 | <div id="MSearchSelectWindow" | ||
747 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
748 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
749 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
750 | <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> | ||
751 | |||
752 | <!-- iframe showing the search results (closed by default) --> | ||
753 | <div id="MSearchResultsWindow"> | ||
754 | <iframe src="javascript:void(0)" frameborder="0" | ||
755 | name="MSearchResults" id="MSearchResults"> | ||
756 | </iframe> | ||
757 | </div> | ||
758 | |||
759 | |||
760 | <li class="footer"> | ||
761 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
762 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Tue Nov 6 2012 11:06:03 for Irrlicht 3D Engine by | ||
763 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
764 | </ul> | ||
765 | </div> | ||
766 | |||
767 | |||
768 | </body> | ||
769 | </html> | ||