Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

882 lines
51 KiB

5 years ago
  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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>0.9.9 API documenation: GLM_GTC_type_ptr</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">0.9.9 API documenation
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.14 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#func-members">Functions</a> </div>
  65. <div class="headertitle">
  66. <div class="title">GLM_GTC_type_ptr<div class="ingroups"><a class="el" href="a00704.html">Recommended extensions</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  71. Functions</h2></td></tr>
  72. <tr class="memitem:ga04409e74dc3da251d2501acf5b4b546c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  73. <tr class="memitem:ga04409e74dc3da251d2501acf5b4b546c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 2, 2, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga04409e74dc3da251d2501acf5b4b546c">make_mat2</a> (T const *const ptr)</td></tr>
  74. <tr class="separator:ga04409e74dc3da251d2501acf5b4b546c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gae49e1c7bcd5abec74d1c34155031f663"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  76. <tr class="memitem:gae49e1c7bcd5abec74d1c34155031f663"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 2, 2, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gae49e1c7bcd5abec74d1c34155031f663">make_mat2x2</a> (T const *const ptr)</td></tr>
  77. <tr class="separator:gae49e1c7bcd5abec74d1c34155031f663"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga21982104164789cf8985483aaefc25e8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  79. <tr class="memitem:ga21982104164789cf8985483aaefc25e8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 2, 3, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga21982104164789cf8985483aaefc25e8">make_mat2x3</a> (T const *const ptr)</td></tr>
  80. <tr class="separator:ga21982104164789cf8985483aaefc25e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga078b862c90b0e9a79ed43a58997d8388"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  82. <tr class="memitem:ga078b862c90b0e9a79ed43a58997d8388"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 2, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga078b862c90b0e9a79ed43a58997d8388">make_mat2x4</a> (T const *const ptr)</td></tr>
  83. <tr class="separator:ga078b862c90b0e9a79ed43a58997d8388"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ga611ee7c4d4cadfc83a8fa8e1d10a170f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  85. <tr class="memitem:ga611ee7c4d4cadfc83a8fa8e1d10a170f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 3, 3, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga611ee7c4d4cadfc83a8fa8e1d10a170f">make_mat3</a> (T const *const ptr)</td></tr>
  86. <tr class="separator:ga611ee7c4d4cadfc83a8fa8e1d10a170f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga27a24e121dc39e6857620e0f85b6e1a8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  88. <tr class="memitem:ga27a24e121dc39e6857620e0f85b6e1a8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 3, 2, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga27a24e121dc39e6857620e0f85b6e1a8">make_mat3x2</a> (T const *const ptr)</td></tr>
  89. <tr class="separator:ga27a24e121dc39e6857620e0f85b6e1a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:gaf2e8337b15c3362aaeb6e5849e1c0536"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  91. <tr class="memitem:gaf2e8337b15c3362aaeb6e5849e1c0536"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 3, 3, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gaf2e8337b15c3362aaeb6e5849e1c0536">make_mat3x3</a> (T const *const ptr)</td></tr>
  92. <tr class="separator:gaf2e8337b15c3362aaeb6e5849e1c0536"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga05dd66232aedb993e3b8e7b35eaf932b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  94. <tr class="memitem:ga05dd66232aedb993e3b8e7b35eaf932b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 3, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga05dd66232aedb993e3b8e7b35eaf932b">make_mat3x4</a> (T const *const ptr)</td></tr>
  95. <tr class="separator:ga05dd66232aedb993e3b8e7b35eaf932b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:gae7bcedb710d1446c87fd1fc93ed8ee9a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  97. <tr class="memitem:gae7bcedb710d1446c87fd1fc93ed8ee9a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gae7bcedb710d1446c87fd1fc93ed8ee9a">make_mat4</a> (T const *const ptr)</td></tr>
  98. <tr class="separator:gae7bcedb710d1446c87fd1fc93ed8ee9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ga8b34c9b25bf3310d8ff9c828c7e2d97c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  100. <tr class="memitem:ga8b34c9b25bf3310d8ff9c828c7e2d97c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 2, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga8b34c9b25bf3310d8ff9c828c7e2d97c">make_mat4x2</a> (T const *const ptr)</td></tr>
  101. <tr class="separator:ga8b34c9b25bf3310d8ff9c828c7e2d97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ga0330bf6640092d7985fac92927bbd42b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  103. <tr class="memitem:ga0330bf6640092d7985fac92927bbd42b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 3, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga0330bf6640092d7985fac92927bbd42b">make_mat4x3</a> (T const *const ptr)</td></tr>
  104. <tr class="separator:ga0330bf6640092d7985fac92927bbd42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:ga8f084be30e404844bfbb4a551ac2728c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  106. <tr class="memitem:ga8f084be30e404844bfbb4a551ac2728c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga8f084be30e404844bfbb4a551ac2728c">make_mat4x4</a> (T const *const ptr)</td></tr>
  107. <tr class="separator:ga8f084be30e404844bfbb4a551ac2728c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ga58110d7d81cf7d029e2bab7f8cd9b246"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  109. <tr class="memitem:ga58110d7d81cf7d029e2bab7f8cd9b246"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL qua&lt; T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga58110d7d81cf7d029e2bab7f8cd9b246">make_quat</a> (T const *const ptr)</td></tr>
  110. <tr class="separator:ga58110d7d81cf7d029e2bab7f8cd9b246"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:ga4135f03f3049f0a4eb76545c4967957c"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  112. <tr class="memitem:ga4135f03f3049f0a4eb76545c4967957c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 1, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga4135f03f3049f0a4eb76545c4967957c">make_vec1</a> (vec&lt; 1, T, Q &gt; const &amp;v)</td></tr>
  113. <tr class="separator:ga4135f03f3049f0a4eb76545c4967957c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:ga13c92b81e55f201b052a6404d57da220"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  115. <tr class="memitem:ga13c92b81e55f201b052a6404d57da220"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 1, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga13c92b81e55f201b052a6404d57da220">make_vec1</a> (vec&lt; 2, T, Q &gt; const &amp;v)</td></tr>
  116. <tr class="separator:ga13c92b81e55f201b052a6404d57da220"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ga3c23cc74086d361e22bbd5e91a334e03"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  118. <tr class="memitem:ga3c23cc74086d361e22bbd5e91a334e03"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 1, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga3c23cc74086d361e22bbd5e91a334e03">make_vec1</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  119. <tr class="separator:ga3c23cc74086d361e22bbd5e91a334e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:ga6af06bb60d64ca8bcd169e3c93bc2419"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  121. <tr class="memitem:ga6af06bb60d64ca8bcd169e3c93bc2419"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 1, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga6af06bb60d64ca8bcd169e3c93bc2419">make_vec1</a> (vec&lt; 4, T, Q &gt; const &amp;v)</td></tr>
  122. <tr class="separator:ga6af06bb60d64ca8bcd169e3c93bc2419"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:ga8476d0e6f1b9b4a6193cc25f59d8a896"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  124. <tr class="memitem:ga8476d0e6f1b9b4a6193cc25f59d8a896"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga8476d0e6f1b9b4a6193cc25f59d8a896">make_vec2</a> (vec&lt; 1, T, Q &gt; const &amp;v)</td></tr>
  125. <tr class="separator:ga8476d0e6f1b9b4a6193cc25f59d8a896"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:gae54bd325a08ad26edf63929201adebc7"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  127. <tr class="memitem:gae54bd325a08ad26edf63929201adebc7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gae54bd325a08ad26edf63929201adebc7">make_vec2</a> (vec&lt; 2, T, Q &gt; const &amp;v)</td></tr>
  128. <tr class="separator:gae54bd325a08ad26edf63929201adebc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:ga0084fea4694cf47276e9cccbe7b1015a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  130. <tr class="memitem:ga0084fea4694cf47276e9cccbe7b1015a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga0084fea4694cf47276e9cccbe7b1015a">make_vec2</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  131. <tr class="separator:ga0084fea4694cf47276e9cccbe7b1015a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:ga2b81f71f3a222fe5bba81e3983751249"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  133. <tr class="memitem:ga2b81f71f3a222fe5bba81e3983751249"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga2b81f71f3a222fe5bba81e3983751249">make_vec2</a> (vec&lt; 4, T, Q &gt; const &amp;v)</td></tr>
  134. <tr class="separator:ga2b81f71f3a222fe5bba81e3983751249"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:ga81253cf7b0ebfbb1e70540c5774e6824"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  136. <tr class="memitem:ga81253cf7b0ebfbb1e70540c5774e6824"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga81253cf7b0ebfbb1e70540c5774e6824">make_vec2</a> (T const *const ptr)</td></tr>
  137. <tr class="separator:ga81253cf7b0ebfbb1e70540c5774e6824"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ga9147e4b3a5d0f4772edfbfd179d7ea0b"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  139. <tr class="memitem:ga9147e4b3a5d0f4772edfbfd179d7ea0b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga9147e4b3a5d0f4772edfbfd179d7ea0b">make_vec3</a> (vec&lt; 1, T, Q &gt; const &amp;v)</td></tr>
  140. <tr class="separator:ga9147e4b3a5d0f4772edfbfd179d7ea0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:ga482b60a842a5b154d3eed392417a9511"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  142. <tr class="memitem:ga482b60a842a5b154d3eed392417a9511"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga482b60a842a5b154d3eed392417a9511">make_vec3</a> (vec&lt; 2, T, Q &gt; const &amp;v)</td></tr>
  143. <tr class="separator:ga482b60a842a5b154d3eed392417a9511"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:gacd57046034df557b8b1c457f58613623"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  145. <tr class="memitem:gacd57046034df557b8b1c457f58613623"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gacd57046034df557b8b1c457f58613623">make_vec3</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  146. <tr class="separator:gacd57046034df557b8b1c457f58613623"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:ga8b589ed7d41a298b516d2a69169248f1"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  148. <tr class="memitem:ga8b589ed7d41a298b516d2a69169248f1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga8b589ed7d41a298b516d2a69169248f1">make_vec3</a> (vec&lt; 4, T, Q &gt; const &amp;v)</td></tr>
  149. <tr class="separator:ga8b589ed7d41a298b516d2a69169248f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:gad9e0d36ff489cb30c65ad1fa40351651"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  151. <tr class="memitem:gad9e0d36ff489cb30c65ad1fa40351651"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gad9e0d36ff489cb30c65ad1fa40351651">make_vec3</a> (T const *const ptr)</td></tr>
  152. <tr class="separator:gad9e0d36ff489cb30c65ad1fa40351651"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:ga600cb97f70c5d50d3a4a145e1cafbf37"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  154. <tr class="memitem:ga600cb97f70c5d50d3a4a145e1cafbf37"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga600cb97f70c5d50d3a4a145e1cafbf37">make_vec4</a> (vec&lt; 1, T, Q &gt; const &amp;v)</td></tr>
  155. <tr class="separator:ga600cb97f70c5d50d3a4a145e1cafbf37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:gaa9bd116caf28196fd1cf00b278286fa7"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  157. <tr class="memitem:gaa9bd116caf28196fd1cf00b278286fa7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gaa9bd116caf28196fd1cf00b278286fa7">make_vec4</a> (vec&lt; 2, T, Q &gt; const &amp;v)</td></tr>
  158. <tr class="separator:gaa9bd116caf28196fd1cf00b278286fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ga4036328ba4702c74cbdfad1fc03d1b8f"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  160. <tr class="memitem:ga4036328ba4702c74cbdfad1fc03d1b8f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga4036328ba4702c74cbdfad1fc03d1b8f">make_vec4</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  161. <tr class="separator:ga4036328ba4702c74cbdfad1fc03d1b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:gaa95cb15732f708f613e65a0578895ae5"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  163. <tr class="memitem:gaa95cb15732f708f613e65a0578895ae5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#gaa95cb15732f708f613e65a0578895ae5">make_vec4</a> (vec&lt; 4, T, Q &gt; const &amp;v)</td></tr>
  164. <tr class="separator:gaa95cb15732f708f613e65a0578895ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:ga63f576518993efc22a969f18f80e29bb"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  166. <tr class="memitem:ga63f576518993efc22a969f18f80e29bb"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga63f576518993efc22a969f18f80e29bb">make_vec4</a> (T const *const ptr)</td></tr>
  167. <tr class="separator:ga63f576518993efc22a969f18f80e29bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:ga1c64669e1ba1160ad9386e43dc57569a"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
  169. <tr class="memitem:ga1c64669e1ba1160ad9386e43dc57569a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType::value_type const *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00722.html#ga1c64669e1ba1160ad9386e43dc57569a">value_ptr</a> (genType const &amp;v)</td></tr>
  170. <tr class="separator:ga1c64669e1ba1160ad9386e43dc57569a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. </table>
  172. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  173. <p>Include &lt;<a class="el" href="a00437.html" title="GLM_GTC_type_ptr ">glm/gtc/type_ptr.hpp</a>&gt; to use the features of this extension. </p>
  174. <p>Handles the interaction between pointers and vector, matrix types.</p>
  175. <p>This extension defines an overloaded function, glm::value_ptr. It returns a pointer to the memory layout of the object. Matrix types store their values in column-major order.</p>
  176. <p>This is useful for uploading data to matrices or copying data to buffer objects.</p>
  177. <p>Example: </p><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;<a class="code" href="a00386.html">glm/glm.hpp</a>&gt;</span></div><div class="line"><span class="preprocessor">#include &lt;<a class="code" href="a00437.html">glm/gtc/type_ptr.hpp</a>&gt;</span></div><div class="line"></div><div class="line"><a class="code" href="a00699.html#ga9c3019b13faf179e4ad3626ea66df334">glm::vec3</a> aVector(3);</div><div class="line"><a class="code" href="a00701.html#ga0db98d836c5549d31cf64ecd043b7af7">glm::mat4</a> someMatrix(1.0);</div><div class="line"></div><div class="line">glUniform3fv(uniformLoc, 1, <a class="code" href="a00722.html#ga1c64669e1ba1160ad9386e43dc57569a">glm::value_ptr</a>(aVector));</div><div class="line">glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, <a class="code" href="a00722.html#ga1c64669e1ba1160ad9386e43dc57569a">glm::value_ptr</a>(someMatrix));</div></div><!-- fragment --><p>&lt;<a class="el" href="a00437.html" title="GLM_GTC_type_ptr ">glm/gtc/type_ptr.hpp</a>&gt; need to be included to use the features of this extension. </p>
  178. <h2 class="groupheader">Function Documentation</h2>
  179. <a id="ga04409e74dc3da251d2501acf5b4b546c"></a>
  180. <h2 class="memtitle"><span class="permalink"><a href="#ga04409e74dc3da251d2501acf5b4b546c">&#9670;&nbsp;</a></span>make_mat2()</h2>
  181. <div class="memitem">
  182. <div class="memproto">
  183. <table class="memname">
  184. <tr>
  185. <td class="memname">GLM_FUNC_DECL mat&lt;2, 2, T, defaultp&gt; glm::make_mat2 </td>
  186. <td>(</td>
  187. <td class="paramtype">T const *const&#160;</td>
  188. <td class="paramname"><em>ptr</em></td><td>)</td>
  189. <td></td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p>Build a matrix from a pointer. </p>
  194. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  195. </div>
  196. </div>
  197. <a id="gae49e1c7bcd5abec74d1c34155031f663"></a>
  198. <h2 class="memtitle"><span class="permalink"><a href="#gae49e1c7bcd5abec74d1c34155031f663">&#9670;&nbsp;</a></span>make_mat2x2()</h2>
  199. <div class="memitem">
  200. <div class="memproto">
  201. <table class="memname">
  202. <tr>
  203. <td class="memname">GLM_FUNC_DECL mat&lt;2, 2, T, defaultp&gt; glm::make_mat2x2 </td>
  204. <td>(</td>
  205. <td class="paramtype">T const *const&#160;</td>
  206. <td class="paramname"><em>ptr</em></td><td>)</td>
  207. <td></td>
  208. </tr>
  209. </table>
  210. </div><div class="memdoc">
  211. <p>Build a matrix from a pointer. </p>
  212. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  213. </div>
  214. </div>
  215. <a id="ga21982104164789cf8985483aaefc25e8"></a>
  216. <h2 class="memtitle"><span class="permalink"><a href="#ga21982104164789cf8985483aaefc25e8">&#9670;&nbsp;</a></span>make_mat2x3()</h2>
  217. <div class="memitem">
  218. <div class="memproto">
  219. <table class="memname">
  220. <tr>
  221. <td class="memname">GLM_FUNC_DECL mat&lt;2, 3, T, defaultp&gt; glm::make_mat2x3 </td>
  222. <td>(</td>
  223. <td class="paramtype">T const *const&#160;</td>
  224. <td class="paramname"><em>ptr</em></td><td>)</td>
  225. <td></td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. <p>Build a matrix from a pointer. </p>
  230. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  231. </div>
  232. </div>
  233. <a id="ga078b862c90b0e9a79ed43a58997d8388"></a>
  234. <h2 class="memtitle"><span class="permalink"><a href="#ga078b862c90b0e9a79ed43a58997d8388">&#9670;&nbsp;</a></span>make_mat2x4()</h2>
  235. <div class="memitem">
  236. <div class="memproto">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">GLM_FUNC_DECL mat&lt;2, 4, T, defaultp&gt; glm::make_mat2x4 </td>
  240. <td>(</td>
  241. <td class="paramtype">T const *const&#160;</td>
  242. <td class="paramname"><em>ptr</em></td><td>)</td>
  243. <td></td>
  244. </tr>
  245. </table>
  246. </div><div class="memdoc">
  247. <p>Build a matrix from a pointer. </p>
  248. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  249. </div>
  250. </div>
  251. <a id="ga611ee7c4d4cadfc83a8fa8e1d10a170f"></a>
  252. <h2 class="memtitle"><span class="permalink"><a href="#ga611ee7c4d4cadfc83a8fa8e1d10a170f">&#9670;&nbsp;</a></span>make_mat3()</h2>
  253. <div class="memitem">
  254. <div class="memproto">
  255. <table class="memname">
  256. <tr>
  257. <td class="memname">GLM_FUNC_DECL mat&lt;3, 3, T, defaultp&gt; glm::make_mat3 </td>
  258. <td>(</td>
  259. <td class="paramtype">T const *const&#160;</td>
  260. <td class="paramname"><em>ptr</em></td><td>)</td>
  261. <td></td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p>Build a matrix from a pointer. </p>
  266. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  267. </div>
  268. </div>
  269. <a id="ga27a24e121dc39e6857620e0f85b6e1a8"></a>
  270. <h2 class="memtitle"><span class="permalink"><a href="#ga27a24e121dc39e6857620e0f85b6e1a8">&#9670;&nbsp;</a></span>make_mat3x2()</h2>
  271. <div class="memitem">
  272. <div class="memproto">
  273. <table class="memname">
  274. <tr>
  275. <td class="memname">GLM_FUNC_DECL mat&lt;3, 2, T, defaultp&gt; glm::make_mat3x2 </td>
  276. <td>(</td>
  277. <td class="paramtype">T const *const&#160;</td>
  278. <td class="paramname"><em>ptr</em></td><td>)</td>
  279. <td></td>
  280. </tr>
  281. </table>
  282. </div><div class="memdoc">
  283. <p>Build a matrix from a pointer. </p>
  284. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  285. </div>
  286. </div>
  287. <a id="gaf2e8337b15c3362aaeb6e5849e1c0536"></a>
  288. <h2 class="memtitle"><span class="permalink"><a href="#gaf2e8337b15c3362aaeb6e5849e1c0536">&#9670;&nbsp;</a></span>make_mat3x3()</h2>
  289. <div class="memitem">
  290. <div class="memproto">
  291. <table class="memname">
  292. <tr>
  293. <td class="memname">GLM_FUNC_DECL mat&lt;3, 3, T, defaultp&gt; glm::make_mat3x3 </td>
  294. <td>(</td>
  295. <td class="paramtype">T const *const&#160;</td>
  296. <td class="paramname"><em>ptr</em></td><td>)</td>
  297. <td></td>
  298. </tr>
  299. </table>
  300. </div><div class="memdoc">
  301. <p>Build a matrix from a pointer. </p>
  302. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  303. </div>
  304. </div>
  305. <a id="ga05dd66232aedb993e3b8e7b35eaf932b"></a>
  306. <h2 class="memtitle"><span class="permalink"><a href="#ga05dd66232aedb993e3b8e7b35eaf932b">&#9670;&nbsp;</a></span>make_mat3x4()</h2>
  307. <div class="memitem">
  308. <div class="memproto">
  309. <table class="memname">
  310. <tr>
  311. <td class="memname">GLM_FUNC_DECL mat&lt;3, 4, T, defaultp&gt; glm::make_mat3x4 </td>
  312. <td>(</td>
  313. <td class="paramtype">T const *const&#160;</td>
  314. <td class="paramname"><em>ptr</em></td><td>)</td>
  315. <td></td>
  316. </tr>
  317. </table>
  318. </div><div class="memdoc">
  319. <p>Build a matrix from a pointer. </p>
  320. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  321. </div>
  322. </div>
  323. <a id="gae7bcedb710d1446c87fd1fc93ed8ee9a"></a>
  324. <h2 class="memtitle"><span class="permalink"><a href="#gae7bcedb710d1446c87fd1fc93ed8ee9a">&#9670;&nbsp;</a></span>make_mat4()</h2>
  325. <div class="memitem">
  326. <div class="memproto">
  327. <table class="memname">
  328. <tr>
  329. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::make_mat4 </td>
  330. <td>(</td>
  331. <td class="paramtype">T const *const&#160;</td>
  332. <td class="paramname"><em>ptr</em></td><td>)</td>
  333. <td></td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>Build a matrix from a pointer. </p>
  338. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  339. </div>
  340. </div>
  341. <a id="ga8b34c9b25bf3310d8ff9c828c7e2d97c"></a>
  342. <h2 class="memtitle"><span class="permalink"><a href="#ga8b34c9b25bf3310d8ff9c828c7e2d97c">&#9670;&nbsp;</a></span>make_mat4x2()</h2>
  343. <div class="memitem">
  344. <div class="memproto">
  345. <table class="memname">
  346. <tr>
  347. <td class="memname">GLM_FUNC_DECL mat&lt;4, 2, T, defaultp&gt; glm::make_mat4x2 </td>
  348. <td>(</td>
  349. <td class="paramtype">T const *const&#160;</td>
  350. <td class="paramname"><em>ptr</em></td><td>)</td>
  351. <td></td>
  352. </tr>
  353. </table>
  354. </div><div class="memdoc">
  355. <p>Build a matrix from a pointer. </p>
  356. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  357. </div>
  358. </div>
  359. <a id="ga0330bf6640092d7985fac92927bbd42b"></a>
  360. <h2 class="memtitle"><span class="permalink"><a href="#ga0330bf6640092d7985fac92927bbd42b">&#9670;&nbsp;</a></span>make_mat4x3()</h2>
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="memname">
  364. <tr>
  365. <td class="memname">GLM_FUNC_DECL mat&lt;4, 3, T, defaultp&gt; glm::make_mat4x3 </td>
  366. <td>(</td>
  367. <td class="paramtype">T const *const&#160;</td>
  368. <td class="paramname"><em>ptr</em></td><td>)</td>
  369. <td></td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <p>Build a matrix from a pointer. </p>
  374. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  375. </div>
  376. </div>
  377. <a id="ga8f084be30e404844bfbb4a551ac2728c"></a>
  378. <h2 class="memtitle"><span class="permalink"><a href="#ga8f084be30e404844bfbb4a551ac2728c">&#9670;&nbsp;</a></span>make_mat4x4()</h2>
  379. <div class="memitem">
  380. <div class="memproto">
  381. <table class="memname">
  382. <tr>
  383. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::make_mat4x4 </td>
  384. <td>(</td>
  385. <td class="paramtype">T const *const&#160;</td>
  386. <td class="paramname"><em>ptr</em></td><td>)</td>
  387. <td></td>
  388. </tr>
  389. </table>
  390. </div><div class="memdoc">
  391. <p>Build a matrix from a pointer. </p>
  392. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  393. </div>
  394. </div>
  395. <a id="ga58110d7d81cf7d029e2bab7f8cd9b246"></a>
  396. <h2 class="memtitle"><span class="permalink"><a href="#ga58110d7d81cf7d029e2bab7f8cd9b246">&#9670;&nbsp;</a></span>make_quat()</h2>
  397. <div class="memitem">
  398. <div class="memproto">
  399. <table class="memname">
  400. <tr>
  401. <td class="memname">GLM_FUNC_DECL qua&lt;T, defaultp&gt; glm::make_quat </td>
  402. <td>(</td>
  403. <td class="paramtype">T const *const&#160;</td>
  404. <td class="paramname"><em>ptr</em></td><td>)</td>
  405. <td></td>
  406. </tr>
  407. </table>
  408. </div><div class="memdoc">
  409. <p>Build a quaternion from a pointer. </p>
  410. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  411. </div>
  412. </div>
  413. <a id="ga4135f03f3049f0a4eb76545c4967957c"></a>
  414. <h2 class="memtitle"><span class="permalink"><a href="#ga4135f03f3049f0a4eb76545c4967957c">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[1/4]</span></h2>
  415. <div class="memitem">
  416. <div class="memproto">
  417. <table class="memname">
  418. <tr>
  419. <td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
  420. <td>(</td>
  421. <td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
  422. <td class="paramname"><em>v</em></td><td>)</td>
  423. <td></td>
  424. </tr>
  425. </table>
  426. </div><div class="memdoc">
  427. <p>Build a vector from a pointer. </p>
  428. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  429. </div>
  430. </div>
  431. <a id="ga13c92b81e55f201b052a6404d57da220"></a>
  432. <h2 class="memtitle"><span class="permalink"><a href="#ga13c92b81e55f201b052a6404d57da220">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[2/4]</span></h2>
  433. <div class="memitem">
  434. <div class="memproto">
  435. <table class="memname">
  436. <tr>
  437. <td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
  438. <td>(</td>
  439. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  440. <td class="paramname"><em>v</em></td><td>)</td>
  441. <td></td>
  442. </tr>
  443. </table>
  444. </div><div class="memdoc">
  445. <p>Build a vector from a pointer. </p>
  446. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  447. </div>
  448. </div>
  449. <a id="ga3c23cc74086d361e22bbd5e91a334e03"></a>
  450. <h2 class="memtitle"><span class="permalink"><a href="#ga3c23cc74086d361e22bbd5e91a334e03">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[3/4]</span></h2>
  451. <div class="memitem">
  452. <div class="memproto">
  453. <table class="memname">
  454. <tr>
  455. <td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
  456. <td>(</td>
  457. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  458. <td class="paramname"><em>v</em></td><td>)</td>
  459. <td></td>
  460. </tr>
  461. </table>
  462. </div><div class="memdoc">
  463. <p>Build a vector from a pointer. </p>
  464. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  465. </div>
  466. </div>
  467. <a id="ga6af06bb60d64ca8bcd169e3c93bc2419"></a>
  468. <h2 class="memtitle"><span class="permalink"><a href="#ga6af06bb60d64ca8bcd169e3c93bc2419">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[4/4]</span></h2>
  469. <div class="memitem">
  470. <div class="memproto">
  471. <table class="memname">
  472. <tr>
  473. <td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
  474. <td>(</td>
  475. <td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
  476. <td class="paramname"><em>v</em></td><td>)</td>
  477. <td></td>
  478. </tr>
  479. </table>
  480. </div><div class="memdoc">
  481. <p>Build a vector from a pointer. </p>
  482. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  483. </div>
  484. </div>
  485. <a id="ga8476d0e6f1b9b4a6193cc25f59d8a896"></a>
  486. <h2 class="memtitle"><span class="permalink"><a href="#ga8476d0e6f1b9b4a6193cc25f59d8a896">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[1/5]</span></h2>
  487. <div class="memitem">
  488. <div class="memproto">
  489. <table class="memname">
  490. <tr>
  491. <td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
  492. <td>(</td>
  493. <td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
  494. <td class="paramname"><em>v</em></td><td>)</td>
  495. <td></td>
  496. </tr>
  497. </table>
  498. </div><div class="memdoc">
  499. <p>Build a vector from a pointer. </p>
  500. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  501. </div>
  502. </div>
  503. <a id="gae54bd325a08ad26edf63929201adebc7"></a>
  504. <h2 class="memtitle"><span class="permalink"><a href="#gae54bd325a08ad26edf63929201adebc7">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[2/5]</span></h2>
  505. <div class="memitem">
  506. <div class="memproto">
  507. <table class="memname">
  508. <tr>
  509. <td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
  510. <td>(</td>
  511. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  512. <td class="paramname"><em>v</em></td><td>)</td>
  513. <td></td>
  514. </tr>
  515. </table>
  516. </div><div class="memdoc">
  517. <p>Build a vector from a pointer. </p>
  518. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  519. </div>
  520. </div>
  521. <a id="ga0084fea4694cf47276e9cccbe7b1015a"></a>
  522. <h2 class="memtitle"><span class="permalink"><a href="#ga0084fea4694cf47276e9cccbe7b1015a">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[3/5]</span></h2>
  523. <div class="memitem">
  524. <div class="memproto">
  525. <table class="memname">
  526. <tr>
  527. <td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
  528. <td>(</td>
  529. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  530. <td class="paramname"><em>v</em></td><td>)</td>
  531. <td></td>
  532. </tr>
  533. </table>
  534. </div><div class="memdoc">
  535. <p>Build a vector from a pointer. </p>
  536. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  537. </div>
  538. </div>
  539. <a id="ga2b81f71f3a222fe5bba81e3983751249"></a>
  540. <h2 class="memtitle"><span class="permalink"><a href="#ga2b81f71f3a222fe5bba81e3983751249">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[4/5]</span></h2>
  541. <div class="memitem">
  542. <div class="memproto">
  543. <table class="memname">
  544. <tr>
  545. <td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
  546. <td>(</td>
  547. <td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
  548. <td class="paramname"><em>v</em></td><td>)</td>
  549. <td></td>
  550. </tr>
  551. </table>
  552. </div><div class="memdoc">
  553. <p>Build a vector from a pointer. </p>
  554. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  555. </div>
  556. </div>
  557. <a id="ga81253cf7b0ebfbb1e70540c5774e6824"></a>
  558. <h2 class="memtitle"><span class="permalink"><a href="#ga81253cf7b0ebfbb1e70540c5774e6824">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[5/5]</span></h2>
  559. <div class="memitem">
  560. <div class="memproto">
  561. <table class="memname">
  562. <tr>
  563. <td class="memname">GLM_FUNC_DECL vec&lt;2, T, defaultp&gt; glm::make_vec2 </td>
  564. <td>(</td>
  565. <td class="paramtype">T const *const&#160;</td>
  566. <td class="paramname"><em>ptr</em></td><td>)</td>
  567. <td></td>
  568. </tr>
  569. </table>
  570. </div><div class="memdoc">
  571. <p>Build a vector from a pointer. </p>
  572. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  573. </div>
  574. </div>
  575. <a id="ga9147e4b3a5d0f4772edfbfd179d7ea0b"></a>
  576. <h2 class="memtitle"><span class="permalink"><a href="#ga9147e4b3a5d0f4772edfbfd179d7ea0b">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[1/5]</span></h2>
  577. <div class="memitem">
  578. <div class="memproto">
  579. <table class="memname">
  580. <tr>
  581. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
  582. <td>(</td>
  583. <td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
  584. <td class="paramname"><em>v</em></td><td>)</td>
  585. <td></td>
  586. </tr>
  587. </table>
  588. </div><div class="memdoc">
  589. <p>Build a vector from a pointer. </p>
  590. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  591. </div>
  592. </div>
  593. <a id="ga482b60a842a5b154d3eed392417a9511"></a>
  594. <h2 class="memtitle"><span class="permalink"><a href="#ga482b60a842a5b154d3eed392417a9511">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[2/5]</span></h2>
  595. <div class="memitem">
  596. <div class="memproto">
  597. <table class="memname">
  598. <tr>
  599. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
  600. <td>(</td>
  601. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  602. <td class="paramname"><em>v</em></td><td>)</td>
  603. <td></td>
  604. </tr>
  605. </table>
  606. </div><div class="memdoc">
  607. <p>Build a vector from a pointer. </p>
  608. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  609. </div>
  610. </div>
  611. <a id="gacd57046034df557b8b1c457f58613623"></a>
  612. <h2 class="memtitle"><span class="permalink"><a href="#gacd57046034df557b8b1c457f58613623">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[3/5]</span></h2>
  613. <div class="memitem">
  614. <div class="memproto">
  615. <table class="memname">
  616. <tr>
  617. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
  618. <td>(</td>
  619. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  620. <td class="paramname"><em>v</em></td><td>)</td>
  621. <td></td>
  622. </tr>
  623. </table>
  624. </div><div class="memdoc">
  625. <p>Build a vector from a pointer. </p>
  626. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  627. </div>
  628. </div>
  629. <a id="ga8b589ed7d41a298b516d2a69169248f1"></a>
  630. <h2 class="memtitle"><span class="permalink"><a href="#ga8b589ed7d41a298b516d2a69169248f1">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[4/5]</span></h2>
  631. <div class="memitem">
  632. <div class="memproto">
  633. <table class="memname">
  634. <tr>
  635. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
  636. <td>(</td>
  637. <td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
  638. <td class="paramname"><em>v</em></td><td>)</td>
  639. <td></td>
  640. </tr>
  641. </table>
  642. </div><div class="memdoc">
  643. <p>Build a vector from a pointer. </p>
  644. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  645. </div>
  646. </div>
  647. <a id="gad9e0d36ff489cb30c65ad1fa40351651"></a>
  648. <h2 class="memtitle"><span class="permalink"><a href="#gad9e0d36ff489cb30c65ad1fa40351651">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[5/5]</span></h2>
  649. <div class="memitem">
  650. <div class="memproto">
  651. <table class="memname">
  652. <tr>
  653. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, defaultp&gt; glm::make_vec3 </td>
  654. <td>(</td>
  655. <td class="paramtype">T const *const&#160;</td>
  656. <td class="paramname"><em>ptr</em></td><td>)</td>
  657. <td></td>
  658. </tr>
  659. </table>
  660. </div><div class="memdoc">
  661. <p>Build a vector from a pointer. </p>
  662. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  663. </div>
  664. </div>
  665. <a id="ga600cb97f70c5d50d3a4a145e1cafbf37"></a>
  666. <h2 class="memtitle"><span class="permalink"><a href="#ga600cb97f70c5d50d3a4a145e1cafbf37">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[1/5]</span></h2>
  667. <div class="memitem">
  668. <div class="memproto">
  669. <table class="memname">
  670. <tr>
  671. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
  672. <td>(</td>
  673. <td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
  674. <td class="paramname"><em>v</em></td><td>)</td>
  675. <td></td>
  676. </tr>
  677. </table>
  678. </div><div class="memdoc">
  679. <p>Build a vector from a pointer. </p>
  680. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  681. </div>
  682. </div>
  683. <a id="gaa9bd116caf28196fd1cf00b278286fa7"></a>
  684. <h2 class="memtitle"><span class="permalink"><a href="#gaa9bd116caf28196fd1cf00b278286fa7">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[2/5]</span></h2>
  685. <div class="memitem">
  686. <div class="memproto">
  687. <table class="memname">
  688. <tr>
  689. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
  690. <td>(</td>
  691. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  692. <td class="paramname"><em>v</em></td><td>)</td>
  693. <td></td>
  694. </tr>
  695. </table>
  696. </div><div class="memdoc">
  697. <p>Build a vector from a pointer. </p>
  698. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  699. </div>
  700. </div>
  701. <a id="ga4036328ba4702c74cbdfad1fc03d1b8f"></a>
  702. <h2 class="memtitle"><span class="permalink"><a href="#ga4036328ba4702c74cbdfad1fc03d1b8f">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[3/5]</span></h2>
  703. <div class="memitem">
  704. <div class="memproto">
  705. <table class="memname">
  706. <tr>
  707. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
  708. <td>(</td>
  709. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  710. <td class="paramname"><em>v</em></td><td>)</td>
  711. <td></td>
  712. </tr>
  713. </table>
  714. </div><div class="memdoc">
  715. <p>Build a vector from a pointer. </p>
  716. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  717. </div>
  718. </div>
  719. <a id="gaa95cb15732f708f613e65a0578895ae5"></a>
  720. <h2 class="memtitle"><span class="permalink"><a href="#gaa95cb15732f708f613e65a0578895ae5">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[4/5]</span></h2>
  721. <div class="memitem">
  722. <div class="memproto">
  723. <table class="memname">
  724. <tr>
  725. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
  726. <td>(</td>
  727. <td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
  728. <td class="paramname"><em>v</em></td><td>)</td>
  729. <td></td>
  730. </tr>
  731. </table>
  732. </div><div class="memdoc">
  733. <p>Build a vector from a pointer. </p>
  734. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  735. </div>
  736. </div>
  737. <a id="ga63f576518993efc22a969f18f80e29bb"></a>
  738. <h2 class="memtitle"><span class="permalink"><a href="#ga63f576518993efc22a969f18f80e29bb">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[5/5]</span></h2>
  739. <div class="memitem">
  740. <div class="memproto">
  741. <table class="memname">
  742. <tr>
  743. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, defaultp&gt; glm::make_vec4 </td>
  744. <td>(</td>
  745. <td class="paramtype">T const *const&#160;</td>
  746. <td class="paramname"><em>ptr</em></td><td>)</td>
  747. <td></td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <p>Build a vector from a pointer. </p>
  752. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  753. </div>
  754. </div>
  755. <a id="ga1c64669e1ba1160ad9386e43dc57569a"></a>
  756. <h2 class="memtitle"><span class="permalink"><a href="#ga1c64669e1ba1160ad9386e43dc57569a">&#9670;&nbsp;</a></span>value_ptr()</h2>
  757. <div class="memitem">
  758. <div class="memproto">
  759. <table class="memname">
  760. <tr>
  761. <td class="memname">GLM_FUNC_DECL genType::value_type const* glm::value_ptr </td>
  762. <td>(</td>
  763. <td class="paramtype">genType const &amp;&#160;</td>
  764. <td class="paramname"><em>v</em></td><td>)</td>
  765. <td></td>
  766. </tr>
  767. </table>
  768. </div><div class="memdoc">
  769. <p>Return the constant address to the data of the input parameter. </p>
  770. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00722.html" title="Include &lt;glm/gtc/type_ptr.hpp&gt; to use the features of this extension. ">GLM_GTC_type_ptr</a> </dd></dl>
  771. </div>
  772. </div>
  773. </div><!-- contents -->
  774. <!-- start footer part -->
  775. <hr class="footer"/><address class="footer"><small>
  776. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  777. <img class="footer" src="doxygen.png" alt="doxygen"/>
  778. </a> 1.8.14
  779. </small></address>
  780. </body>
  781. </html>