a00194.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>GLM_GTX_projection: Projection</title>
  6. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  7. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  8. </head>
  9. <body>
  10. <div id="top"><!-- do not remove this div! -->
  11. <div id="titlearea">
  12. <table cellspacing="0" cellpadding="0">
  13. <tbody>
  14. <tr style="height: 56px;">
  15. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  16. </tr>
  17. </tbody>
  18. </table>
  19. </div>
  20. <!-- Generated by Doxygen 1.7.5.1 -->
  21. <div id="navrow1" class="tabs">
  22. <ul class="tablist">
  23. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  24. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  25. <li><a href="modules.html"><span>Modules</span></a></li>
  26. <li><a href="annotated.html"><span>Classes</span></a></li>
  27. <li><a href="files.html"><span>Files</span></a></li>
  28. </ul>
  29. </div>
  30. </div>
  31. <div class="header">
  32. <div class="summary">
  33. <a href="#func-members">Functions</a> </div>
  34. <div class="headertitle">
  35. <div class="title">GLM_GTX_projection: Projection</div> </div>
  36. <div class="ingroups"><a class="el" href="a00137.html">GTX Extensions (Experimental)</a></div></div>
  37. <div class="contents">
  38. <table class="memberdecls">
  39. <tr><td colspan="2"><h2><a name="func-members"></a>
  40. Functions</h2></td></tr>
  41. <tr><td class="memTemplParams" colspan="2">template&lt;typename vecType &gt; </td></tr>
  42. <tr><td class="memTemplItemLeft" align="right" valign="top">vecType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga08294223071a96e777de7033cc708439">proj</a> (vecType const &amp;x, vecType const &amp;Normal)</td></tr>
  43. </table>
  44. <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
  45. <p>Projection of a vector to other one. </p>
  46. <p>&lt;<a class="el" href="a00075.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/projection.hpp</a>&gt; need to be included to use these functionalities. </p>
  47. <hr/><h2>Function Documentation</h2>
  48. <a class="anchor" id="ga08294223071a96e777de7033cc708439"></a><!-- doxytag: member="glm::proj" ref="ga08294223071a96e777de7033cc708439" args="(vecType const &amp;x, vecType const &amp;Normal)" -->
  49. <div class="memitem">
  50. <div class="memproto">
  51. <table class="memname">
  52. <tr>
  53. <td class="memname">vecType glm::proj </td>
  54. <td>(</td>
  55. <td class="paramtype">vecType const &amp;&#160;</td>
  56. <td class="paramname"><em>x</em>, </td>
  57. </tr>
  58. <tr>
  59. <td class="paramkey"></td>
  60. <td></td>
  61. <td class="paramtype">vecType const &amp;&#160;</td>
  62. <td class="paramname"><em>Normal</em>&#160;</td>
  63. </tr>
  64. <tr>
  65. <td></td>
  66. <td>)</td>
  67. <td></td><td></td>
  68. </tr>
  69. </table>
  70. </div>
  71. <div class="memdoc">
  72. <p>Projects x on Normal. </p>
  73. <p>From GLM_GTX_projection extension. </p>
  74. </div>
  75. </div>
  76. </div>
  77. <hr class="footer"/><address class="footer"><small>
  78. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  79. <img class="footer" src="doxygen.png" alt="doxygen"/>
  80. </a> 1.7.5.1
  81. </small></address>
  82. </body>
  83. </html>