a00220.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.8"/>
  7. <title>0.9.6: GLM_GTX_projection</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  20. <td style="padding-left: 0.5em;">
  21. <div id="projectname">0.9.6
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.8 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="modules.html"><span>Modules</span></a></li>
  34. <li><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. </div><!-- top -->
  38. <div class="header">
  39. <div class="summary">
  40. <a href="#func-members">Functions</a> </div>
  41. <div class="headertitle">
  42. <div class="title">GLM_GTX_projection<div class="ingroups"><a class="el" href="a00159.html">GTX Extensions (Experimental)</a></div></div> </div>
  43. </div><!--header-->
  44. <div class="contents">
  45. <table class="memberdecls">
  46. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  47. Functions</h2></td></tr>
  48. <tr class="memitem:gadf29123bcf748fc9d6fb0998192184cf"><td class="memTemplParams" colspan="2">template&lt;typename vecType &gt; </td></tr>
  49. <tr class="memitem:gadf29123bcf748fc9d6fb0998192184cf"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00220.html#gadf29123bcf748fc9d6fb0998192184cf">proj</a> (vecType const &amp;x, vecType const &amp;Normal)</td></tr>
  50. <tr class="separator:gadf29123bcf748fc9d6fb0998192184cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  51. </table>
  52. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  53. <p>Projection of a vector to other one. </p>
  54. <p>&lt;<a class="el" href="a00092.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/projection.hpp</a>&gt; need to be included to use these functionalities. </p>
  55. <h2 class="groupheader">Function Documentation</h2>
  56. <a class="anchor" id="gadf29123bcf748fc9d6fb0998192184cf"></a>
  57. <div class="memitem">
  58. <div class="memproto">
  59. <table class="memname">
  60. <tr>
  61. <td class="memname">GLM_FUNC_DECL vecType glm::proj </td>
  62. <td>(</td>
  63. <td class="paramtype">vecType const &amp;&#160;</td>
  64. <td class="paramname"><em>x</em>, </td>
  65. </tr>
  66. <tr>
  67. <td class="paramkey"></td>
  68. <td></td>
  69. <td class="paramtype">vecType const &amp;&#160;</td>
  70. <td class="paramname"><em>Normal</em>&#160;</td>
  71. </tr>
  72. <tr>
  73. <td></td>
  74. <td>)</td>
  75. <td></td><td></td>
  76. </tr>
  77. </table>
  78. </div><div class="memdoc">
  79. <p>Projects x on Normal. </p>
  80. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00220.html" title="Projection of a vector to other one. ">GLM_GTX_projection</a> </dd></dl>
  81. </div>
  82. </div>
  83. </div><!-- contents -->
  84. <!-- start footer part -->
  85. <hr class="footer"/><address class="footer"><small>
  86. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  87. <img class="footer" src="doxygen.png" alt="doxygen"/>
  88. </a> 1.8.8
  89. </small></address>
  90. </body>
  91. </html>