a00204.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.10"/>
  7. <title>0.9.8: GLM_GTX_matrix_decompose</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 id="projectalign" style="padding-left: 0.5em;">
  21. <div id="projectname">0.9.8
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.10 -->
  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_matrix_decompose<div class="ingroups"><a class="el" href="a00155.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:ga0f1245817507156b337798a253577c8b"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
  49. <tr class="memitem:ga0f1245817507156b337798a253577c8b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00204.html#ga0f1245817507156b337798a253577c8b">decompose</a> (tmat4x4&lt; T, P &gt; const &amp;modelMatrix, tvec3&lt; T, P &gt; &amp;scale, tquat&lt; T, P &gt; &amp;orientation, tvec3&lt; T, P &gt; &amp;translation, tvec3&lt; T, P &gt; &amp;skew, tvec4&lt; T, P &gt; &amp;perspective)</td></tr>
  50. <tr class="separator:ga0f1245817507156b337798a253577c8b"><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>Decomposes a model matrix to translations, rotation and scale components. </p>
  54. <p>&lt;<a class="el" href="a00063.html" title="GLM_GTX_matrix_decompose ">glm/gtx/matrix_decompose.hpp</a>&gt; need to be included to use these functionalities. </p>
  55. <h2 class="groupheader">Function Documentation</h2>
  56. <a class="anchor" id="ga0f1245817507156b337798a253577c8b"></a>
  57. <div class="memitem">
  58. <div class="memproto">
  59. <table class="memname">
  60. <tr>
  61. <td class="memname">GLM_FUNC_DECL bool glm::decompose </td>
  62. <td>(</td>
  63. <td class="paramtype">tmat4x4&lt; T, P &gt; const &amp;&#160;</td>
  64. <td class="paramname"><em>modelMatrix</em>, </td>
  65. </tr>
  66. <tr>
  67. <td class="paramkey"></td>
  68. <td></td>
  69. <td class="paramtype">tvec3&lt; T, P &gt; &amp;&#160;</td>
  70. <td class="paramname"><em>scale</em>, </td>
  71. </tr>
  72. <tr>
  73. <td class="paramkey"></td>
  74. <td></td>
  75. <td class="paramtype">tquat&lt; T, P &gt; &amp;&#160;</td>
  76. <td class="paramname"><em>orientation</em>, </td>
  77. </tr>
  78. <tr>
  79. <td class="paramkey"></td>
  80. <td></td>
  81. <td class="paramtype">tvec3&lt; T, P &gt; &amp;&#160;</td>
  82. <td class="paramname"><em>translation</em>, </td>
  83. </tr>
  84. <tr>
  85. <td class="paramkey"></td>
  86. <td></td>
  87. <td class="paramtype">tvec3&lt; T, P &gt; &amp;&#160;</td>
  88. <td class="paramname"><em>skew</em>, </td>
  89. </tr>
  90. <tr>
  91. <td class="paramkey"></td>
  92. <td></td>
  93. <td class="paramtype">tvec4&lt; T, P &gt; &amp;&#160;</td>
  94. <td class="paramname"><em>perspective</em>&#160;</td>
  95. </tr>
  96. <tr>
  97. <td></td>
  98. <td>)</td>
  99. <td></td><td></td>
  100. </tr>
  101. </table>
  102. </div><div class="memdoc">
  103. <p>Decomposes a model matrix to translations, rotation and scale components. </p>
  104. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00204.html" title="Decomposes a model matrix to translations, rotation and scale components. ">GLM_GTX_matrix_decompose</a> </dd></dl>
  105. </div>
  106. </div>
  107. </div><!-- contents -->
  108. <!-- start footer part -->
  109. <hr class="footer"/><address class="footer"><small>
  110. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  111. <img class="footer" src="doxygen.png" alt="doxygen"/>
  112. </a> 1.8.10
  113. </small></address>
  114. </body>
  115. </html>