structPVRTVec3.html 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>PowerVR SDK</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. <table width="100%">
  7. <tr>
  8. <td width="33%">
  9. <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
  10. </td>
  11. <td width="33%">
  12. <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
  13. </td>
  14. <td width="34%">
  15. <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
  16. </td>
  17. </tr>
  18. </table>
  19. <hr>
  20. </head><body>
  21. <!-- Generated by Doxygen 1.3.6 -->
  22. <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
  23. <h1>PVRTVec3 Struct Reference</h1><code>#include &lt;<a class="el" href="PVRTVector_8h-source.html">PVRTVector.h</a>&gt;</code>
  24. <p>
  25. Inheritance diagram for PVRTVec3:<p><center><img src="structPVRTVec3__inherit__graph.png" border="0" usemap="#PVRTVec3__inherit__map" alt="Inheritance graph"></center>
  26. <map name="PVRTVec3__inherit__map">
  27. <area href="structPVRTVECTOR3f.html" shape="rect" coords="7,7,127,34" alt="">
  28. </map>
  29. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for PVRTVec3:<p><center><img src="structPVRTVec3__coll__graph.png" border="0" usemap="#PVRTVec3__coll__map" alt="Collaboration graph"></center>
  30. <map name="PVRTVec3__coll__map">
  31. <area href="structPVRTVECTOR3f.html" shape="rect" coords="7,7,127,34" alt="">
  32. </map>
  33. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structPVRTVec3-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
  34. <tr><td></td></tr>
  35. <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
  36. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a0">PVRTVec3</a> ()</td></tr>
  37. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a1">PVRTVec3</a> (VERTTYPE fX, VERTTYPE fY, VERTTYPE fZ)</td></tr>
  38. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a2">PVRTVec3</a> (const VERTTYPE fValue)</td></tr>
  39. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a3">PVRTVec3</a> (const VERTTYPE *pVec)</td></tr>
  40. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a4">PVRTVec3</a> (const <a class="el" href="structPVRTVec4.html">PVRTVec4</a> &amp;v4Vec)</td></tr>
  41. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a5">operator+</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  42. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a6">operator-</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  43. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a7">operator+=</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs)</td></tr>
  44. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a8">operator-=</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs)</td></tr>
  45. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a9">operator *</a> (const <a class="el" href="structPVRTMat3.html">PVRTMat3</a> &amp;rhs) const </td></tr>
  46. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a10">operator *=</a> (const <a class="el" href="structPVRTMat3.html">PVRTMat3</a> &amp;rhs)</td></tr>
  47. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a11">operator *</a> (const VERTTYPE &amp;rhs) const </td></tr>
  48. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a12">operator *=</a> (const VERTTYPE &amp;rhs)</td></tr>
  49. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a13">operator/</a> (const VERTTYPE &amp;rhs) const </td></tr>
  50. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a14">operator/=</a> (const VERTTYPE &amp;rhs)</td></tr>
  51. <tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a15">operator==</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  52. <tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a16">operator!=</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  53. <tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a17">lenSqr</a> () const </td></tr>
  54. <tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a18">length</a> () const </td></tr>
  55. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a19">normalize</a> ()</td></tr>
  56. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a20">normalized</a> () const </td></tr>
  57. <tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a21">dot</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  58. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a22">cross</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs) const </td></tr>
  59. <tr><td class="memItemLeft" nowrap align=right valign=top>VERTTYPE *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#a23">ptr</a> ()</td></tr>
  60. <tr><td colspan=2><br><h2>Friends</h2></td></tr>
  61. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#n0">operator-</a> (const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs)</td></tr>
  62. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#n1">operator *</a> (const VERTTYPE lhs, const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs)</td></tr>
  63. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structPVRTVec3.html">PVRTVec3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html#n2">operator/</a> (const VERTTYPE lhs, const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;rhs)</td></tr>
  64. </table>
  65. <hr><a name="_details"></a><h2>Detailed Description</h2>
  66. PVRTVec3 3 component vector
  67. <p>
  68. <hr><h2>Constructor &amp; Destructor Documentation</h2>
  69. <a class="anchor" name="a0" doxytag="PVRTVec3::PVRTVec3" ></a><p>
  70. <br><br><h3>PVRTVec3</h3><br><div>
  71. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  72. <tr>
  73. <td class="mdRow">
  74. <table cellpadding="0" cellspacing="0" border="0">
  75. <tr>
  76. <td class="md" nowrap valign="top"> PVRTVec3::PVRTVec3 </td>
  77. <td class="md" valign="top">(&nbsp;</td>
  78. <td class="mdname1" valign="top" nowrap> </td>
  79. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  80. <td class="md" nowrap><code> [inline]</code></td>
  81. </tr>
  82. </table>
  83. </td>
  84. </tr>
  85. </table>
  86. <table cellspacing=5 cellpadding=0 border=0>
  87. <tr>
  88. <td>
  89. &nbsp;
  90. </td>
  91. <td>
  92. <p>
  93. <dl compact><dt><b>Description:</b></dt><dd>Blank constructor. </dd></dl>
  94. </td>
  95. </tr>
  96. </table>
  97. <a class="anchor" name="a1" doxytag="PVRTVec3::PVRTVec3" ></a><p>
  98. <br><br><h3>PVRTVec3</h3><br><div>
  99. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  100. <tr>
  101. <td class="mdRow">
  102. <table cellpadding="0" cellspacing="0" border="0">
  103. <tr>
  104. <td class="md" nowrap valign="top"> PVRTVec3::PVRTVec3 </td>
  105. <td class="md" valign="top">(&nbsp;</td>
  106. <td class="md" nowrap valign="top">VERTTYPE&nbsp;</td>
  107. <td class="mdname" nowrap> <em>fX</em>, </td>
  108. </tr>
  109. <tr>
  110. <td class="md" nowrap align="right"></td>
  111. <td></td>
  112. <td class="md" nowrap>VERTTYPE&nbsp;</td>
  113. <td class="mdname" nowrap> <em>fY</em>, </td>
  114. </tr>
  115. <tr>
  116. <td class="md" nowrap align="right"></td>
  117. <td></td>
  118. <td class="md" nowrap>VERTTYPE&nbsp;</td>
  119. <td class="mdname" nowrap> <em>fZ</em></td>
  120. </tr>
  121. <tr>
  122. <td></td>
  123. <td class="md">)&nbsp;</td>
  124. <td class="md" colspan="2"><code> [inline]</code></td>
  125. </tr>
  126. </table>
  127. </td>
  128. </tr>
  129. </table>
  130. <table cellspacing=5 cellpadding=0 border=0>
  131. <tr>
  132. <td>
  133. &nbsp;
  134. </td>
  135. <td>
  136. <p>
  137. <dl compact><dt><b>Inputs:</b></dt><dd>
  138. <table border="0" cellspacing="2" cellpadding="0">
  139. <tr><td valign=top><em>fX</em>&nbsp;</td><td>X component of vector </td></tr>
  140. <tr><td valign=top><em>fY</em>&nbsp;</td><td>Y component of vector </td></tr>
  141. <tr><td valign=top><em>fZ</em>&nbsp;</td><td>Z component of vector </td></tr>
  142. </table>
  143. </dl>
  144. <dl compact><dt><b>Description:</b></dt><dd>Simple constructor from 3 values. </dd></dl>
  145. </td>
  146. </tr>
  147. </table>
  148. <a class="anchor" name="a2" doxytag="PVRTVec3::PVRTVec3" ></a><p>
  149. <br><br><h3>PVRTVec3</h3><br><div>
  150. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  151. <tr>
  152. <td class="mdRow">
  153. <table cellpadding="0" cellspacing="0" border="0">
  154. <tr>
  155. <td class="md" nowrap valign="top"> PVRTVec3::PVRTVec3 </td>
  156. <td class="md" valign="top">(&nbsp;</td>
  157. <td class="md" nowrap valign="top">const VERTTYPE&nbsp;</td>
  158. <td class="mdname1" valign="top" nowrap> <em>fValue</em> </td>
  159. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  160. <td class="md" nowrap><code> [inline]</code></td>
  161. </tr>
  162. </table>
  163. </td>
  164. </tr>
  165. </table>
  166. <table cellspacing=5 cellpadding=0 border=0>
  167. <tr>
  168. <td>
  169. &nbsp;
  170. </td>
  171. <td>
  172. <p>
  173. <dl compact><dt><b>Inputs:</b></dt><dd>
  174. <table border="0" cellspacing="2" cellpadding="0">
  175. <tr><td valign=top><em>fValue</em>&nbsp;</td><td>a component value </td></tr>
  176. </table>
  177. </dl>
  178. <dl compact><dt><b>Description:</b></dt><dd>Constructor from a single value. </dd></dl>
  179. </td>
  180. </tr>
  181. </table>
  182. <a class="anchor" name="a3" doxytag="PVRTVec3::PVRTVec3" ></a><p>
  183. <br><br><h3>PVRTVec3</h3><br><div>
  184. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  185. <tr>
  186. <td class="mdRow">
  187. <table cellpadding="0" cellspacing="0" border="0">
  188. <tr>
  189. <td class="md" nowrap valign="top"> PVRTVec3::PVRTVec3 </td>
  190. <td class="md" valign="top">(&nbsp;</td>
  191. <td class="md" nowrap valign="top">const VERTTYPE *&nbsp;</td>
  192. <td class="mdname1" valign="top" nowrap> <em>pVec</em> </td>
  193. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  194. <td class="md" nowrap><code> [inline]</code></td>
  195. </tr>
  196. </table>
  197. </td>
  198. </tr>
  199. </table>
  200. <table cellspacing=5 cellpadding=0 border=0>
  201. <tr>
  202. <td>
  203. &nbsp;
  204. </td>
  205. <td>
  206. <p>
  207. <dl compact><dt><b>Inputs:</b></dt><dd>
  208. <table border="0" cellspacing="2" cellpadding="0">
  209. <tr><td valign=top><em>pVec</em>&nbsp;</td><td>an array </td></tr>
  210. </table>
  211. </dl>
  212. <dl compact><dt><b>Description:</b></dt><dd>Constructor from an array </dd></dl>
  213. </td>
  214. </tr>
  215. </table>
  216. <a class="anchor" name="a4" doxytag="PVRTVec3::PVRTVec3" ></a><p>
  217. <br><br><h3>PVRTVec3</h3><br><div>
  218. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  219. <tr>
  220. <td class="mdRow">
  221. <table cellpadding="0" cellspacing="0" border="0">
  222. <tr>
  223. <td class="md" nowrap valign="top"> PVRTVec3::PVRTVec3 </td>
  224. <td class="md" valign="top">(&nbsp;</td>
  225. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec4.html">PVRTVec4</a> &amp;&nbsp;</td>
  226. <td class="mdname1" valign="top" nowrap> <em>v4Vec</em> </td>
  227. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  228. <td class="md" nowrap></td>
  229. </tr>
  230. </table>
  231. </td>
  232. </tr>
  233. </table>
  234. <table cellspacing=5 cellpadding=0 border=0>
  235. <tr>
  236. <td>
  237. &nbsp;
  238. </td>
  239. <td>
  240. <p>
  241. <dl compact><dt><b>Inputs:</b></dt><dd>
  242. <table border="0" cellspacing="2" cellpadding="0">
  243. <tr><td valign=top><em>v4Vec</em>&nbsp;</td><td>a <a class="el" href="structPVRTVec4.html">PVRTVec4</a> </td></tr>
  244. </table>
  245. </dl>
  246. <dl compact><dt><b>Description:</b></dt><dd>Constructor from a <a class="el" href="structPVRTVec4.html">PVRTVec4</a> </dd></dl>
  247. </td>
  248. </tr>
  249. </table>
  250. <hr><h2>Member Function Documentation</h2>
  251. <a class="anchor" name="a22" doxytag="PVRTVec3::cross" ></a><p>
  252. <br><br><h3>cross</h3><br><div>
  253. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  254. <tr>
  255. <td class="mdRow">
  256. <table cellpadding="0" cellspacing="0" border="0">
  257. <tr>
  258. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::cross </td>
  259. <td class="md" valign="top">(&nbsp;</td>
  260. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  261. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  262. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  263. <td class="md" nowrap> const<code> [inline]</code></td>
  264. </tr>
  265. </table>
  266. </td>
  267. </tr>
  268. </table>
  269. <table cellspacing=5 cellpadding=0 border=0>
  270. <tr>
  271. <td>
  272. &nbsp;
  273. </td>
  274. <td>
  275. <p>
  276. <dl compact><dt><b>Returns:</b></dt><dd>returns three-dimensional vector </dd></dl>
  277. <dl compact><dt><b>Description:</b></dt><dd>calculate the cross product of two PVRTVec3s </dd></dl>
  278. </td>
  279. </tr>
  280. </table>
  281. <a class="anchor" name="a21" doxytag="PVRTVec3::dot" ></a><p>
  282. <br><br><h3>dot</h3><br><div>
  283. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  284. <tr>
  285. <td class="mdRow">
  286. <table cellpadding="0" cellspacing="0" border="0">
  287. <tr>
  288. <td class="md" nowrap valign="top"> VERTTYPE PVRTVec3::dot </td>
  289. <td class="md" valign="top">(&nbsp;</td>
  290. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  291. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  292. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  293. <td class="md" nowrap> const<code> [inline]</code></td>
  294. </tr>
  295. </table>
  296. </td>
  297. </tr>
  298. </table>
  299. <table cellspacing=5 cellpadding=0 border=0>
  300. <tr>
  301. <td>
  302. &nbsp;
  303. </td>
  304. <td>
  305. <p>
  306. <dl compact><dt><b>Inputs:</b></dt><dd>
  307. <table border="0" cellspacing="2" cellpadding="0">
  308. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  309. </table>
  310. </dl>
  311. <dl compact><dt><b>Returns:</b></dt><dd>scalar product </dd></dl>
  312. <dl compact><dt><b>Description:</b></dt><dd>calculate the scalar product of two PVRTVec3s </dd></dl>
  313. </td>
  314. </tr>
  315. </table>
  316. <a class="anchor" name="a18" doxytag="PVRTVec3::length" ></a><p>
  317. <br><br><h3>length</h3><br><div>
  318. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  319. <tr>
  320. <td class="mdRow">
  321. <table cellpadding="0" cellspacing="0" border="0">
  322. <tr>
  323. <td class="md" nowrap valign="top"> VERTTYPE PVRTVec3::length </td>
  324. <td class="md" valign="top">(&nbsp;</td>
  325. <td class="mdname1" valign="top" nowrap> </td>
  326. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  327. <td class="md" nowrap> const<code> [inline]</code></td>
  328. </tr>
  329. </table>
  330. </td>
  331. </tr>
  332. </table>
  333. <table cellspacing=5 cellpadding=0 border=0>
  334. <tr>
  335. <td>
  336. &nbsp;
  337. </td>
  338. <td>
  339. <p>
  340. <dl compact><dt><b>Returns:</b></dt><dd>the of the magnitude of the vector </dd></dl>
  341. <dl compact><dt><b>Description:</b></dt><dd>calculates the magnitude of the vector </dd></dl>
  342. </td>
  343. </tr>
  344. </table>
  345. <a class="anchor" name="a17" doxytag="PVRTVec3::lenSqr" ></a><p>
  346. <br><br><h3>lenSqr</h3><br><div>
  347. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  348. <tr>
  349. <td class="mdRow">
  350. <table cellpadding="0" cellspacing="0" border="0">
  351. <tr>
  352. <td class="md" nowrap valign="top"> VERTTYPE PVRTVec3::lenSqr </td>
  353. <td class="md" valign="top">(&nbsp;</td>
  354. <td class="mdname1" valign="top" nowrap> </td>
  355. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  356. <td class="md" nowrap> const<code> [inline]</code></td>
  357. </tr>
  358. </table>
  359. </td>
  360. </tr>
  361. </table>
  362. <table cellspacing=5 cellpadding=0 border=0>
  363. <tr>
  364. <td>
  365. &nbsp;
  366. </td>
  367. <td>
  368. <p>
  369. <dl compact><dt><b>Returns:</b></dt><dd>the square of the magnitude of the vector </dd></dl>
  370. <dl compact><dt><b>Description:</b></dt><dd>calculates the square of the magnitude of the vector </dd></dl>
  371. </td>
  372. </tr>
  373. </table>
  374. <a class="anchor" name="a19" doxytag="PVRTVec3::normalize" ></a><p>
  375. <br><br><h3>normalize</h3><br><div>
  376. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  377. <tr>
  378. <td class="mdRow">
  379. <table cellpadding="0" cellspacing="0" border="0">
  380. <tr>
  381. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::normalize </td>
  382. <td class="md" valign="top">(&nbsp;</td>
  383. <td class="mdname1" valign="top" nowrap> </td>
  384. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  385. <td class="md" nowrap><code> [inline]</code></td>
  386. </tr>
  387. </table>
  388. </td>
  389. </tr>
  390. </table>
  391. <table cellspacing=5 cellpadding=0 border=0>
  392. <tr>
  393. <td>
  394. &nbsp;
  395. </td>
  396. <td>
  397. <p>
  398. <dl compact><dt><b>Returns:</b></dt><dd>the normalized value of the vector </dd></dl>
  399. <dl compact><dt><b>Description:</b></dt><dd>normalizes the vector </dd></dl>
  400. </td>
  401. </tr>
  402. </table>
  403. <a class="anchor" name="a20" doxytag="PVRTVec3::normalized" ></a><p>
  404. <br><br><h3>normalized</h3><br><div>
  405. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  406. <tr>
  407. <td class="mdRow">
  408. <table cellpadding="0" cellspacing="0" border="0">
  409. <tr>
  410. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::normalized </td>
  411. <td class="md" valign="top">(&nbsp;</td>
  412. <td class="mdname1" valign="top" nowrap> </td>
  413. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  414. <td class="md" nowrap> const<code> [inline]</code></td>
  415. </tr>
  416. </table>
  417. </td>
  418. </tr>
  419. </table>
  420. <table cellspacing=5 cellpadding=0 border=0>
  421. <tr>
  422. <td>
  423. &nbsp;
  424. </td>
  425. <td>
  426. <p>
  427. <dl compact><dt><b>Returns:</b></dt><dd>returns the normalized value of the vector </dd></dl>
  428. <dl compact><dt><b>Description:</b></dt><dd>returns a normalized vector of the same direction as this vector </dd></dl>
  429. </td>
  430. </tr>
  431. </table>
  432. <a class="anchor" name="a11" doxytag="PVRTVec3::operator *" ></a><p>
  433. <br><br><h3>operator *</h3><br><div>
  434. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  435. <tr>
  436. <td class="mdRow">
  437. <table cellpadding="0" cellspacing="0" border="0">
  438. <tr>
  439. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::operator * </td>
  440. <td class="md" valign="top">(&nbsp;</td>
  441. <td class="md" nowrap valign="top">const VERTTYPE &amp;&nbsp;</td>
  442. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  443. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  444. <td class="md" nowrap> const<code> [inline]</code></td>
  445. </tr>
  446. </table>
  447. </td>
  448. </tr>
  449. </table>
  450. <table cellspacing=5 cellpadding=0 border=0>
  451. <tr>
  452. <td>
  453. &nbsp;
  454. </td>
  455. <td>
  456. <p>
  457. <dl compact><dt><b>Inputs:</b></dt><dd>
  458. <table border="0" cellspacing="2" cellpadding="0">
  459. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  460. </table>
  461. </dl>
  462. <dl compact><dt><b>Returns:</b></dt><dd>result of multiplication </dd></dl>
  463. <dl compact><dt><b>Description:</b></dt><dd>componentwise multiplication by single dimension value for PVRTVec3 </dd></dl>
  464. </td>
  465. </tr>
  466. </table>
  467. <a class="anchor" name="a9" doxytag="PVRTVec3::operator *" ></a><p>
  468. <br><br><h3>operator *</h3><br><div>
  469. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  470. <tr>
  471. <td class="mdRow">
  472. <table cellpadding="0" cellspacing="0" border="0">
  473. <tr>
  474. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::operator * </td>
  475. <td class="md" valign="top">(&nbsp;</td>
  476. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTMat3.html">PVRTMat3</a> &amp;&nbsp;</td>
  477. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  478. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  479. <td class="md" nowrap> const</td>
  480. </tr>
  481. </table>
  482. </td>
  483. </tr>
  484. </table>
  485. <table cellspacing=5 cellpadding=0 border=0>
  486. <tr>
  487. <td>
  488. &nbsp;
  489. </td>
  490. <td>
  491. <p>
  492. <dl compact><dt><b>Inputs:</b></dt><dd>
  493. <table border="0" cellspacing="2" cellpadding="0">
  494. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a <a class="el" href="structPVRTMat3.html">PVRTMat3</a> </td></tr>
  495. </table>
  496. </dl>
  497. <dl compact><dt><b>Returns:</b></dt><dd>result of multiplication </dd></dl>
  498. <dl compact><dt><b>Description:</b></dt><dd>matrix multiplication operator PVRTVec3 and <a class="el" href="structPVRTMat3.html">PVRTMat3</a> </dd></dl>
  499. </td>
  500. </tr>
  501. </table>
  502. <a class="anchor" name="a12" doxytag="PVRTVec3::operator *=" ></a><p>
  503. <br><br><h3>operator *=</h3><br><div>
  504. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  505. <tr>
  506. <td class="mdRow">
  507. <table cellpadding="0" cellspacing="0" border="0">
  508. <tr>
  509. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a>&amp; PVRTVec3::operator *= </td>
  510. <td class="md" valign="top">(&nbsp;</td>
  511. <td class="md" nowrap valign="top">const VERTTYPE &amp;&nbsp;</td>
  512. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  513. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  514. <td class="md" nowrap><code> [inline]</code></td>
  515. </tr>
  516. </table>
  517. </td>
  518. </tr>
  519. </table>
  520. <table cellspacing=5 cellpadding=0 border=0>
  521. <tr>
  522. <td>
  523. &nbsp;
  524. </td>
  525. <td>
  526. <p>
  527. <dl compact><dt><b>Inputs:</b></dt><dd>
  528. <table border="0" cellspacing="2" cellpadding="0">
  529. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  530. </table>
  531. </dl>
  532. <dl compact><dt><b>Returns:</b></dt><dd>result of multiplication and assignment </dd></dl>
  533. <dl compact><dt><b>Description:</b></dt><dd>componentwise multiplication and assignement by single dimension value for PVRTVec3 </dd></dl>
  534. </td>
  535. </tr>
  536. </table>
  537. <a class="anchor" name="a10" doxytag="PVRTVec3::operator *=" ></a><p>
  538. <br><br><h3>operator *=</h3><br><div>
  539. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  540. <tr>
  541. <td class="mdRow">
  542. <table cellpadding="0" cellspacing="0" border="0">
  543. <tr>
  544. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a>&amp; PVRTVec3::operator *= </td>
  545. <td class="md" valign="top">(&nbsp;</td>
  546. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTMat3.html">PVRTMat3</a> &amp;&nbsp;</td>
  547. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  548. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  549. <td class="md" nowrap></td>
  550. </tr>
  551. </table>
  552. </td>
  553. </tr>
  554. </table>
  555. <table cellspacing=5 cellpadding=0 border=0>
  556. <tr>
  557. <td>
  558. &nbsp;
  559. </td>
  560. <td>
  561. <p>
  562. <dl compact><dt><b>Inputs:</b></dt><dd>
  563. <table border="0" cellspacing="2" cellpadding="0">
  564. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a <a class="el" href="structPVRTMat3.html">PVRTMat3</a> </td></tr>
  565. </table>
  566. </dl>
  567. <dl compact><dt><b>Returns:</b></dt><dd>result of multiplication and assignment </dd></dl>
  568. <dl compact><dt><b>Description:</b></dt><dd>matrix multiplication and assignment operator for PVRTVec3 and <a class="el" href="structPVRTMat3.html">PVRTMat3</a> </dd></dl>
  569. </td>
  570. </tr>
  571. </table>
  572. <a class="anchor" name="a16" doxytag="PVRTVec3::operator!=" ></a><p>
  573. <br><br><h3>operator!=</h3><br><div>
  574. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  575. <tr>
  576. <td class="mdRow">
  577. <table cellpadding="0" cellspacing="0" border="0">
  578. <tr>
  579. <td class="md" nowrap valign="top"> bool PVRTVec3::operator!= </td>
  580. <td class="md" valign="top">(&nbsp;</td>
  581. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  582. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  583. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  584. <td class="md" nowrap> const<code> [inline]</code></td>
  585. </tr>
  586. </table>
  587. </td>
  588. </tr>
  589. </table>
  590. <table cellspacing=5 cellpadding=0 border=0>
  591. <tr>
  592. <td>
  593. &nbsp;
  594. </td>
  595. <td>
  596. <p>
  597. <dl compact><dt><b>Inputs:</b></dt><dd>
  598. <table border="0" cellspacing="2" cellpadding="0">
  599. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  600. </table>
  601. </dl>
  602. <dl compact><dt><b>Returns:</b></dt><dd>true if the two vectors are not equal </dd></dl>
  603. <dl compact><dt><b>Description:</b></dt><dd>PVRTVec3 inequality operator </dd></dl>
  604. </td>
  605. </tr>
  606. </table>
  607. <a class="anchor" name="a5" doxytag="PVRTVec3::operator+" ></a><p>
  608. <br><br><h3>operator+</h3><br><div>
  609. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  610. <tr>
  611. <td class="mdRow">
  612. <table cellpadding="0" cellspacing="0" border="0">
  613. <tr>
  614. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::operator+ </td>
  615. <td class="md" valign="top">(&nbsp;</td>
  616. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  617. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  618. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  619. <td class="md" nowrap> const<code> [inline]</code></td>
  620. </tr>
  621. </table>
  622. </td>
  623. </tr>
  624. </table>
  625. <table cellspacing=5 cellpadding=0 border=0>
  626. <tr>
  627. <td>
  628. &nbsp;
  629. </td>
  630. <td>
  631. <p>
  632. <dl compact><dt><b>Inputs:</b></dt><dd>
  633. <table border="0" cellspacing="2" cellpadding="0">
  634. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>another PVRTVec3 </td></tr>
  635. </table>
  636. </dl>
  637. <dl compact><dt><b>Returns:</b></dt><dd>result of addition </dd></dl>
  638. <dl compact><dt><b>Description:</b></dt><dd>componentwise addition operator for two PVRTVec3s </dd></dl>
  639. </td>
  640. </tr>
  641. </table>
  642. <a class="anchor" name="a7" doxytag="PVRTVec3::operator+=" ></a><p>
  643. <br><br><h3>operator+=</h3><br><div>
  644. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  645. <tr>
  646. <td class="mdRow">
  647. <table cellpadding="0" cellspacing="0" border="0">
  648. <tr>
  649. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a>&amp; PVRTVec3::operator+= </td>
  650. <td class="md" valign="top">(&nbsp;</td>
  651. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  652. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  653. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  654. <td class="md" nowrap><code> [inline]</code></td>
  655. </tr>
  656. </table>
  657. </td>
  658. </tr>
  659. </table>
  660. <table cellspacing=5 cellpadding=0 border=0>
  661. <tr>
  662. <td>
  663. &nbsp;
  664. </td>
  665. <td>
  666. <p>
  667. <dl compact><dt><b>Inputs:</b></dt><dd>
  668. <table border="0" cellspacing="2" cellpadding="0">
  669. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>another PVRTVec3 </td></tr>
  670. </table>
  671. </dl>
  672. <dl compact><dt><b>Returns:</b></dt><dd>result of addition </dd></dl>
  673. <dl compact><dt><b>Description:</b></dt><dd>componentwise addition and assignement operator for two PVRTVec3s </dd></dl>
  674. </td>
  675. </tr>
  676. </table>
  677. <a class="anchor" name="a6" doxytag="PVRTVec3::operator-" ></a><p>
  678. <br><br><h3>operator-</h3><br><div>
  679. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  680. <tr>
  681. <td class="mdRow">
  682. <table cellpadding="0" cellspacing="0" border="0">
  683. <tr>
  684. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::operator- </td>
  685. <td class="md" valign="top">(&nbsp;</td>
  686. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  687. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  688. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  689. <td class="md" nowrap> const<code> [inline]</code></td>
  690. </tr>
  691. </table>
  692. </td>
  693. </tr>
  694. </table>
  695. <table cellspacing=5 cellpadding=0 border=0>
  696. <tr>
  697. <td>
  698. &nbsp;
  699. </td>
  700. <td>
  701. <p>
  702. <dl compact><dt><b>Inputs:</b></dt><dd>
  703. <table border="0" cellspacing="2" cellpadding="0">
  704. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>another PVRTVec3 </td></tr>
  705. </table>
  706. </dl>
  707. <dl compact><dt><b>Returns:</b></dt><dd>result of subtraction </dd></dl>
  708. <dl compact><dt><b>Description:</b></dt><dd>componentwise subtraction operator for two PVRTVec3s </dd></dl>
  709. </td>
  710. </tr>
  711. </table>
  712. <a class="anchor" name="a8" doxytag="PVRTVec3::operator-=" ></a><p>
  713. <br><br><h3>operator-=</h3><br><div>
  714. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  715. <tr>
  716. <td class="mdRow">
  717. <table cellpadding="0" cellspacing="0" border="0">
  718. <tr>
  719. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a>&amp; PVRTVec3::operator-= </td>
  720. <td class="md" valign="top">(&nbsp;</td>
  721. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  722. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  723. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  724. <td class="md" nowrap><code> [inline]</code></td>
  725. </tr>
  726. </table>
  727. </td>
  728. </tr>
  729. </table>
  730. <table cellspacing=5 cellpadding=0 border=0>
  731. <tr>
  732. <td>
  733. &nbsp;
  734. </td>
  735. <td>
  736. <p>
  737. <dl compact><dt><b>Inputs:</b></dt><dd>
  738. <table border="0" cellspacing="2" cellpadding="0">
  739. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>another PVRTVec3 </td></tr>
  740. </table>
  741. </dl>
  742. <dl compact><dt><b>Returns:</b></dt><dd>result of subtraction </dd></dl>
  743. <dl compact><dt><b>Description:</b></dt><dd>componentwise subtraction and assignement operator for two PVRTVec3s </dd></dl>
  744. </td>
  745. </tr>
  746. </table>
  747. <a class="anchor" name="a13" doxytag="PVRTVec3::operator/" ></a><p>
  748. <br><br><h3>operator/</h3><br><div>
  749. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  750. <tr>
  751. <td class="mdRow">
  752. <table cellpadding="0" cellspacing="0" border="0">
  753. <tr>
  754. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> PVRTVec3::operator/ </td>
  755. <td class="md" valign="top">(&nbsp;</td>
  756. <td class="md" nowrap valign="top">const VERTTYPE &amp;&nbsp;</td>
  757. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  758. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  759. <td class="md" nowrap> const<code> [inline]</code></td>
  760. </tr>
  761. </table>
  762. </td>
  763. </tr>
  764. </table>
  765. <table cellspacing=5 cellpadding=0 border=0>
  766. <tr>
  767. <td>
  768. &nbsp;
  769. </td>
  770. <td>
  771. <p>
  772. <dl compact><dt><b>Inputs:</b></dt><dd>
  773. <table border="0" cellspacing="2" cellpadding="0">
  774. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  775. </table>
  776. </dl>
  777. <dl compact><dt><b>Returns:</b></dt><dd>result of division </dd></dl>
  778. <dl compact><dt><b>Description:</b></dt><dd>componentwise division by single dimension value for PVRTVec3 </dd></dl>
  779. </td>
  780. </tr>
  781. </table>
  782. <a class="anchor" name="a14" doxytag="PVRTVec3::operator/=" ></a><p>
  783. <br><br><h3>operator/=</h3><br><div>
  784. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  785. <tr>
  786. <td class="mdRow">
  787. <table cellpadding="0" cellspacing="0" border="0">
  788. <tr>
  789. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a>&amp; PVRTVec3::operator/= </td>
  790. <td class="md" valign="top">(&nbsp;</td>
  791. <td class="md" nowrap valign="top">const VERTTYPE &amp;&nbsp;</td>
  792. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  793. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  794. <td class="md" nowrap><code> [inline]</code></td>
  795. </tr>
  796. </table>
  797. </td>
  798. </tr>
  799. </table>
  800. <table cellspacing=5 cellpadding=0 border=0>
  801. <tr>
  802. <td>
  803. &nbsp;
  804. </td>
  805. <td>
  806. <p>
  807. <dl compact><dt><b>Inputs:</b></dt><dd>
  808. <table border="0" cellspacing="2" cellpadding="0">
  809. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  810. </table>
  811. </dl>
  812. <dl compact><dt><b>Returns:</b></dt><dd>result of division and assignment </dd></dl>
  813. <dl compact><dt><b>Description:</b></dt><dd>componentwise division and assignement by single dimension value for PVRTVec3 </dd></dl>
  814. </td>
  815. </tr>
  816. </table>
  817. <a class="anchor" name="a15" doxytag="PVRTVec3::operator==" ></a><p>
  818. <br><br><h3>operator==</h3><br><div>
  819. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  820. <tr>
  821. <td class="mdRow">
  822. <table cellpadding="0" cellspacing="0" border="0">
  823. <tr>
  824. <td class="md" nowrap valign="top"> bool PVRTVec3::operator== </td>
  825. <td class="md" valign="top">(&nbsp;</td>
  826. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  827. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  828. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  829. <td class="md" nowrap> const<code> [inline]</code></td>
  830. </tr>
  831. </table>
  832. </td>
  833. </tr>
  834. </table>
  835. <table cellspacing=5 cellpadding=0 border=0>
  836. <tr>
  837. <td>
  838. &nbsp;
  839. </td>
  840. <td>
  841. <p>
  842. <dl compact><dt><b>Inputs:</b></dt><dd>
  843. <table border="0" cellspacing="2" cellpadding="0">
  844. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a single value </td></tr>
  845. </table>
  846. </dl>
  847. <dl compact><dt><b>Returns:</b></dt><dd>true if the two vectors are equal </dd></dl>
  848. <dl compact><dt><b>Description:</b></dt><dd>PVRTVec3 equality operator </dd></dl>
  849. </td>
  850. </tr>
  851. </table>
  852. <a class="anchor" name="a23" doxytag="PVRTVec3::ptr" ></a><p>
  853. <br><br><h3>ptr</h3><br><div>
  854. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  855. <tr>
  856. <td class="mdRow">
  857. <table cellpadding="0" cellspacing="0" border="0">
  858. <tr>
  859. <td class="md" nowrap valign="top"> VERTTYPE* PVRTVec3::ptr </td>
  860. <td class="md" valign="top">(&nbsp;</td>
  861. <td class="mdname1" valign="top" nowrap> </td>
  862. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  863. <td class="md" nowrap><code> [inline]</code></td>
  864. </tr>
  865. </table>
  866. </td>
  867. </tr>
  868. </table>
  869. <table cellspacing=5 cellpadding=0 border=0>
  870. <tr>
  871. <td>
  872. &nbsp;
  873. </td>
  874. <td>
  875. <p>
  876. <dl compact><dt><b>Returns:</b></dt><dd>pointer </dd></dl>
  877. <dl compact><dt><b>Description:</b></dt><dd>returns a pointer to memory containing the values of the PVRTVec3 </dd></dl>
  878. </td>
  879. </tr>
  880. </table>
  881. <hr><h2>Friends And Related Function Documentation</h2>
  882. <a class="anchor" name="n1" doxytag="PVRTVec3::operator *" ></a><p>
  883. <br><br><h3>operator *</h3><br><div>
  884. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  885. <tr>
  886. <td class="mdRow">
  887. <table cellpadding="0" cellspacing="0" border="0">
  888. <tr>
  889. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> operator * </td>
  890. <td class="md" valign="top">(&nbsp;</td>
  891. <td class="md" nowrap valign="top">const VERTTYPE&nbsp;</td>
  892. <td class="mdname" nowrap> <em>lhs</em>, </td>
  893. </tr>
  894. <tr>
  895. <td class="md" nowrap align="right"></td>
  896. <td></td>
  897. <td class="md" nowrap>const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  898. <td class="mdname" nowrap> <em>rhs</em></td>
  899. </tr>
  900. <tr>
  901. <td></td>
  902. <td class="md">)&nbsp;</td>
  903. <td class="md" colspan="2"><code> [friend]</code></td>
  904. </tr>
  905. </table>
  906. </td>
  907. </tr>
  908. </table>
  909. <table cellspacing=5 cellpadding=0 border=0>
  910. <tr>
  911. <td>
  912. &nbsp;
  913. </td>
  914. <td>
  915. <p>
  916. <dl compact><dt><b>Inputs:</b></dt><dd>
  917. <table border="0" cellspacing="2" cellpadding="0">
  918. <tr><td valign=top><em>lhs</em>&nbsp;</td><td>single value </td></tr>
  919. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a PVRTVec3 </td></tr>
  920. </table>
  921. </dl>
  922. <dl compact><dt><b>Returns:</b></dt><dd>result of multiplication </dd></dl>
  923. <dl compact><dt><b>Description:</b></dt><dd>multiplication operator for a PVRTVec3 </dd></dl>
  924. </td>
  925. </tr>
  926. </table>
  927. <a class="anchor" name="n0" doxytag="PVRTVec3::operator-" ></a><p>
  928. <br><br><h3>operator-</h3><br><div>
  929. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  930. <tr>
  931. <td class="mdRow">
  932. <table cellpadding="0" cellspacing="0" border="0">
  933. <tr>
  934. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> operator- </td>
  935. <td class="md" valign="top">(&nbsp;</td>
  936. <td class="md" nowrap valign="top">const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  937. <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
  938. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  939. <td class="md" nowrap><code> [friend]</code></td>
  940. </tr>
  941. </table>
  942. </td>
  943. </tr>
  944. </table>
  945. <table cellspacing=5 cellpadding=0 border=0>
  946. <tr>
  947. <td>
  948. &nbsp;
  949. </td>
  950. <td>
  951. <p>
  952. <dl compact><dt><b>Inputs:</b></dt><dd>
  953. <table border="0" cellspacing="2" cellpadding="0">
  954. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>another PVRTVec3 </td></tr>
  955. </table>
  956. </dl>
  957. <dl compact><dt><b>Returns:</b></dt><dd>result of negation </dd></dl>
  958. <dl compact><dt><b>Description:</b></dt><dd>negation operator for a PVRTVec3 </dd></dl>
  959. </td>
  960. </tr>
  961. </table>
  962. <a class="anchor" name="n2" doxytag="PVRTVec3::operator/" ></a><p>
  963. <br><br><h3>operator/</h3><br><div>
  964. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  965. <tr>
  966. <td class="mdRow">
  967. <table cellpadding="0" cellspacing="0" border="0">
  968. <tr>
  969. <td class="md" nowrap valign="top"> <a class="el" href="structPVRTVec3.html">PVRTVec3</a> operator/ </td>
  970. <td class="md" valign="top">(&nbsp;</td>
  971. <td class="md" nowrap valign="top">const VERTTYPE&nbsp;</td>
  972. <td class="mdname" nowrap> <em>lhs</em>, </td>
  973. </tr>
  974. <tr>
  975. <td class="md" nowrap align="right"></td>
  976. <td></td>
  977. <td class="md" nowrap>const <a class="el" href="structPVRTVec3.html">PVRTVec3</a> &amp;&nbsp;</td>
  978. <td class="mdname" nowrap> <em>rhs</em></td>
  979. </tr>
  980. <tr>
  981. <td></td>
  982. <td class="md">)&nbsp;</td>
  983. <td class="md" colspan="2"><code> [friend]</code></td>
  984. </tr>
  985. </table>
  986. </td>
  987. </tr>
  988. </table>
  989. <table cellspacing=5 cellpadding=0 border=0>
  990. <tr>
  991. <td>
  992. &nbsp;
  993. </td>
  994. <td>
  995. <p>
  996. <dl compact><dt><b>Inputs:</b></dt><dd>
  997. <table border="0" cellspacing="2" cellpadding="0">
  998. <tr><td valign=top><em>lhs</em>&nbsp;</td><td>single value </td></tr>
  999. <tr><td valign=top><em>rhs</em>&nbsp;</td><td>a PVRTVec3 </td></tr>
  1000. </table>
  1001. </dl>
  1002. <dl compact><dt><b>Returns:</b></dt><dd>result of negation </dd></dl>
  1003. <dl compact><dt><b>Description:</b></dt><dd>negation operator for a PVRTVec3 </dd></dl>
  1004. </td>
  1005. </tr>
  1006. </table>
  1007. <hr>The documentation for this struct was generated from the following file:<ul>
  1008. <li><a class="el" href="PVRTVector_8h-source.html">PVRTVector.h</a></ul>
  1009. <br>
  1010. <br>
  1011. <P align=left><FONT size=2><STRONG><A
  1012. href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
  1013. 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
  1014. <hr>
  1015. <address style="align: left;"><small><FONT color=f0f>
  1016. Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
  1017. </body>
  1018. </html>