PVRTVector_8h.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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>PVRTVector.h File Reference</h1><code>#include "assert.h"</code><br>
  24. <code>#include "<a class="el" href="PVRTGlobal_8h-source.html">PVRTGlobal.h</a>"</code><br>
  25. <code>#include "<a class="el" href="PVRTFixedPoint_8h-source.html">PVRTFixedPoint.h</a>"</code><br>
  26. <code>#include "<a class="el" href="PVRTMatrix_8h-source.html">PVRTMatrix.h</a>"</code><br>
  27. <code>#include &lt;string.h&gt;</code><br>
  28. <code>#include &lt;math.h&gt;</code><br>
  29. <p>
  30. Include dependency graph for PVRTVector.h:<p><center><img src="PVRTVector_8h__incl.png" border="0" usemap="#PVRTVector.h_map" alt="Include dependency graph"></center>
  31. <map name="PVRTVector.h_map">
  32. <area href="PVRTGlobal_8h.html" shape="rect" coords="236,81,343,108" alt="">
  33. <area href="PVRTFixedPoint_8h.html" shape="rect" coords="100,156,233,183" alt="">
  34. <area href="PVRTMatrix_8h.html" shape="rect" coords="308,156,415,183" alt="">
  35. <area href="PVRTMathTable_8h.html" shape="rect" coords="81,81,212,108" alt="">
  36. </map>
  37. <p>
  38. This graph shows which files directly or indirectly include this file:<p><center><img src="PVRTVector_8h__dep__incl.png" border="0" usemap="#PVRTVector.hdep_map" alt="Included by dependency graph"></center>
  39. <map name="PVRTVector.hdep_map">
  40. <area href="OGLES2Tools_8h.html" shape="rect" coords="144,7,262,33" alt="">
  41. <area href="PVRTModelPOD_8h.html" shape="rect" coords="58,81,191,108" alt="">
  42. <area href="PVRTPFXParser_8h.html" shape="rect" coords="215,81,348,108" alt="">
  43. <area href="PVRTShadowVol_8h.html" shape="rect" coords="372,81,508,108" alt="">
  44. </map>
  45. <p>
  46. <a href="PVRTVector_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
  47. <tr><td></td></tr>
  48. <tr><td colspan=2><br><h2>Classes</h2></td></tr>
  49. <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec2.html">PVRTVec2</a></td></tr>
  50. <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec3.html">PVRTVec3</a></td></tr>
  51. <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTVec4.html">PVRTVec4</a></td></tr>
  52. <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTMat3.html">PVRTMat3</a></td></tr>
  53. <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVRTMat4.html">PVRTMat4</a></td></tr>
  54. <tr><td colspan=2><br><h2>Functions</h2></td></tr>
  55. <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="PVRTVector_8h.html#a0">PVRTLinearEqSolve</a> (VERTTYPE *const pRes, VERTTYPE **const pSrc, const int nCnt)</td></tr>
  56. </table>
  57. <hr><h2>Function Documentation</h2>
  58. <a class="anchor" name="a0" doxytag="PVRTVector.h::PVRTLinearEqSolve" ></a><p>
  59. <br><br><h3>PVRTLinearEqSolve</h3><br><div>
  60. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  61. <tr>
  62. <td class="mdRow">
  63. <table cellpadding="0" cellspacing="0" border="0">
  64. <tr>
  65. <td class="md" nowrap valign="top"> void PVRTLinearEqSolve </td>
  66. <td class="md" valign="top">(&nbsp;</td>
  67. <td class="md" nowrap valign="top">VERTTYPE *const&nbsp;</td>
  68. <td class="mdname" nowrap> <em>pRes</em>, </td>
  69. </tr>
  70. <tr>
  71. <td class="md" nowrap align="right"></td>
  72. <td></td>
  73. <td class="md" nowrap>VERTTYPE **const&nbsp;</td>
  74. <td class="mdname" nowrap> <em>pSrc</em>, </td>
  75. </tr>
  76. <tr>
  77. <td class="md" nowrap align="right"></td>
  78. <td></td>
  79. <td class="md" nowrap>const int&nbsp;</td>
  80. <td class="mdname" nowrap> <em>nCnt</em></td>
  81. </tr>
  82. <tr>
  83. <td></td>
  84. <td class="md">)&nbsp;</td>
  85. <td class="md" colspan="2"></td>
  86. </tr>
  87. </table>
  88. </td>
  89. </tr>
  90. </table>
  91. <table cellspacing=5 cellpadding=0 border=0>
  92. <tr>
  93. <td>
  94. &nbsp;
  95. </td>
  96. <td>
  97. <p>
  98. <dl compact><dt><b>Inputs:</b></dt><dd>
  99. <table border="0" cellspacing="2" cellpadding="0">
  100. <tr><td valign=top><em>pSrc</em>&nbsp;</td><td>2D array of floats. 4 Eq linear problem is 5x4 matrix, constants in first column </td></tr>
  101. <tr><td valign=top><em>nCnt</em>&nbsp;</td><td>Number of equations to solve </td></tr>
  102. </table>
  103. </dl>
  104. <dl compact><dt><b>Outputs:</b></dt><dd>
  105. <table border="0" cellspacing="2" cellpadding="0">
  106. <tr><td valign=top><em>pRes</em>&nbsp;</td><td>Result </td></tr>
  107. </table>
  108. </dl>
  109. <dl compact><dt><b>Description:</b></dt><dd>Solves 'nCnt' simultaneous equations of 'nCnt' variables. pRes should be an array large enough to contain the results: the values of the 'nCnt' variables. This fn recursively uses Gaussian Elimination. </dd></dl>
  110. </td>
  111. </tr>
  112. </table>
  113. <br>
  114. <br>
  115. <P align=left><FONT size=2><STRONG><A
  116. href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
  117. 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
  118. <hr>
  119. <address style="align: left;"><small><FONT color=f0f>
  120. Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
  121. </body>
  122. </html>