glm/doc/api/a00722.html

883 lines
51 KiB
HTML
Raw Normal View History

2017-08-15 19:22:51 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2018-09-02 21:34:18 +00:00
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>0.9.9 API documentation: GLM_GTC_type_ptr</title>
2017-08-15 19:22:51 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2017-08-17 18:39:22 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
2017-08-15 19:22:51 +00:00
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">0.9.9 API documentation
2017-08-15 19:22:51 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2018-09-02 21:34:18 +00:00
<!-- Generated by Doxygen 1.8.14 -->
2017-08-15 19:22:51 +00:00
<script type="text/javascript">
2018-09-02 21:34:18 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2017-08-15 19:22:51 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-09-02 21:34:18 +00:00
/* @license-end */
2017-08-15 19:22:51 +00:00
</script>
2018-09-02 21:34:18 +00:00
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
2017-08-15 19:22:51 +00:00
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2018-09-02 21:34:18 +00:00
<div class="title">GLM_GTC_type_ptr<div class="ingroups"><a class="el" href="a00704.html">Recommended extensions</a></div></div> </div>
2017-08-15 19:22:51 +00:00
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2018-05-08 11:51:58 +00:00
<tr class="memitem:ga04409e74dc3da251d2501acf5b4b546c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga04409e74dc3da251d2501acf5b4b546c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae49e1c7bcd5abec74d1c34155031f663"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gae49e1c7bcd5abec74d1c34155031f663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21982104164789cf8985483aaefc25e8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga21982104164789cf8985483aaefc25e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga078b862c90b0e9a79ed43a58997d8388"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga078b862c90b0e9a79ed43a58997d8388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga611ee7c4d4cadfc83a8fa8e1d10a170f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga611ee7c4d4cadfc83a8fa8e1d10a170f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27a24e121dc39e6857620e0f85b6e1a8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga27a24e121dc39e6857620e0f85b6e1a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2e8337b15c3362aaeb6e5849e1c0536"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gaf2e8337b15c3362aaeb6e5849e1c0536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05dd66232aedb993e3b8e7b35eaf932b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga05dd66232aedb993e3b8e7b35eaf932b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7bcedb710d1446c87fd1fc93ed8ee9a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gae7bcedb710d1446c87fd1fc93ed8ee9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b34c9b25bf3310d8ff9c828c7e2d97c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga8b34c9b25bf3310d8ff9c828c7e2d97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0330bf6640092d7985fac92927bbd42b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga0330bf6640092d7985fac92927bbd42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f084be30e404844bfbb4a551ac2728c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga8f084be30e404844bfbb4a551ac2728c"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga58110d7d81cf7d029e2bab7f8cd9b246"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<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>
<tr class="separator:ga58110d7d81cf7d029e2bab7f8cd9b246"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="memitem:ga4135f03f3049f0a4eb76545c4967957c"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga4135f03f3049f0a4eb76545c4967957c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13c92b81e55f201b052a6404d57da220"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga13c92b81e55f201b052a6404d57da220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c23cc74086d361e22bbd5e91a334e03"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga3c23cc74086d361e22bbd5e91a334e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6af06bb60d64ca8bcd169e3c93bc2419"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga6af06bb60d64ca8bcd169e3c93bc2419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8476d0e6f1b9b4a6193cc25f59d8a896"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga8476d0e6f1b9b4a6193cc25f59d8a896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae54bd325a08ad26edf63929201adebc7"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gae54bd325a08ad26edf63929201adebc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0084fea4694cf47276e9cccbe7b1015a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga0084fea4694cf47276e9cccbe7b1015a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b81f71f3a222fe5bba81e3983751249"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga2b81f71f3a222fe5bba81e3983751249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81253cf7b0ebfbb1e70540c5774e6824"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga81253cf7b0ebfbb1e70540c5774e6824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9147e4b3a5d0f4772edfbfd179d7ea0b"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga9147e4b3a5d0f4772edfbfd179d7ea0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga482b60a842a5b154d3eed392417a9511"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga482b60a842a5b154d3eed392417a9511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd57046034df557b8b1c457f58613623"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gacd57046034df557b8b1c457f58613623"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b589ed7d41a298b516d2a69169248f1"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga8b589ed7d41a298b516d2a69169248f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9e0d36ff489cb30c65ad1fa40351651"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gad9e0d36ff489cb30c65ad1fa40351651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga600cb97f70c5d50d3a4a145e1cafbf37"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga600cb97f70c5d50d3a4a145e1cafbf37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9bd116caf28196fd1cf00b278286fa7"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gaa9bd116caf28196fd1cf00b278286fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4036328ba4702c74cbdfad1fc03d1b8f"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga4036328ba4702c74cbdfad1fc03d1b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa95cb15732f708f613e65a0578895ae5"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:gaa95cb15732f708f613e65a0578895ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63f576518993efc22a969f18f80e29bb"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga63f576518993efc22a969f18f80e29bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c64669e1ba1160ad9386e43dc57569a"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga1c64669e1ba1160ad9386e43dc57569a"><td class="memSeparator" colspan="2">&#160;</td></tr>
2017-08-15 19:22:51 +00:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<p>Handles the interaction between pointers and vector, matrix types.</p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<p>This is useful for uploading data to matrices or copying data to buffer objects.</p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
<h2 class="groupheader">Function Documentation</h2>
2018-09-02 21:34:18 +00:00
<a id="ga04409e74dc3da251d2501acf5b4b546c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga04409e74dc3da251d2501acf5b4b546c">&#9670;&nbsp;</a></span>make_mat2()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;2, 2, T, defaultp&gt; glm::make_mat2 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gae49e1c7bcd5abec74d1c34155031f663"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae49e1c7bcd5abec74d1c34155031f663">&#9670;&nbsp;</a></span>make_mat2x2()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;2, 2, T, defaultp&gt; glm::make_mat2x2 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga21982104164789cf8985483aaefc25e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21982104164789cf8985483aaefc25e8">&#9670;&nbsp;</a></span>make_mat2x3()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;2, 3, T, defaultp&gt; glm::make_mat2x3 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga078b862c90b0e9a79ed43a58997d8388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga078b862c90b0e9a79ed43a58997d8388">&#9670;&nbsp;</a></span>make_mat2x4()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;2, 4, T, defaultp&gt; glm::make_mat2x4 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga611ee7c4d4cadfc83a8fa8e1d10a170f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga611ee7c4d4cadfc83a8fa8e1d10a170f">&#9670;&nbsp;</a></span>make_mat3()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;3, 3, T, defaultp&gt; glm::make_mat3 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga27a24e121dc39e6857620e0f85b6e1a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga27a24e121dc39e6857620e0f85b6e1a8">&#9670;&nbsp;</a></span>make_mat3x2()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;3, 2, T, defaultp&gt; glm::make_mat3x2 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gaf2e8337b15c3362aaeb6e5849e1c0536"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2e8337b15c3362aaeb6e5849e1c0536">&#9670;&nbsp;</a></span>make_mat3x3()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;3, 3, T, defaultp&gt; glm::make_mat3x3 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga05dd66232aedb993e3b8e7b35eaf932b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05dd66232aedb993e3b8e7b35eaf932b">&#9670;&nbsp;</a></span>make_mat3x4()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;3, 4, T, defaultp&gt; glm::make_mat3x4 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gae7bcedb710d1446c87fd1fc93ed8ee9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7bcedb710d1446c87fd1fc93ed8ee9a">&#9670;&nbsp;</a></span>make_mat4()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::make_mat4 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga8b34c9b25bf3310d8ff9c828c7e2d97c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b34c9b25bf3310d8ff9c828c7e2d97c">&#9670;&nbsp;</a></span>make_mat4x2()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;4, 2, T, defaultp&gt; glm::make_mat4x2 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga0330bf6640092d7985fac92927bbd42b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0330bf6640092d7985fac92927bbd42b">&#9670;&nbsp;</a></span>make_mat4x3()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;4, 3, T, defaultp&gt; glm::make_mat4x3 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga8f084be30e404844bfbb4a551ac2728c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f084be30e404844bfbb4a551ac2728c">&#9670;&nbsp;</a></span>make_mat4x4()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::make_mat4x4 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a matrix from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga58110d7d81cf7d029e2bab7f8cd9b246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58110d7d81cf7d029e2bab7f8cd9b246">&#9670;&nbsp;</a></span>make_quat()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-09-02 21:34:18 +00:00
<td class="memname">GLM_FUNC_DECL qua&lt;T, defaultp&gt; glm::make_quat </td>
2018-05-08 11:51:58 +00:00
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a quaternion from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga4135f03f3049f0a4eb76545c4967957c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4135f03f3049f0a4eb76545c4967957c">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[1/4]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
<td>(</td>
<td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga13c92b81e55f201b052a6404d57da220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga13c92b81e55f201b052a6404d57da220">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[2/4]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
<td>(</td>
<td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga3c23cc74086d361e22bbd5e91a334e03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3c23cc74086d361e22bbd5e91a334e03">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[3/4]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
<td>(</td>
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga6af06bb60d64ca8bcd169e3c93bc2419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6af06bb60d64ca8bcd169e3c93bc2419">&#9670;&nbsp;</a></span>make_vec1() <span class="overload">[4/4]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;1, T, Q&gt; glm::make_vec1 </td>
<td>(</td>
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga8476d0e6f1b9b4a6193cc25f59d8a896"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8476d0e6f1b9b4a6193cc25f59d8a896">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[1/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
<td>(</td>
<td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gae54bd325a08ad26edf63929201adebc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae54bd325a08ad26edf63929201adebc7">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[2/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
<td>(</td>
<td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga0084fea4694cf47276e9cccbe7b1015a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0084fea4694cf47276e9cccbe7b1015a">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[3/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
<td>(</td>
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga2b81f71f3a222fe5bba81e3983751249"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b81f71f3a222fe5bba81e3983751249">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[4/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::make_vec2 </td>
<td>(</td>
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga81253cf7b0ebfbb1e70540c5774e6824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga81253cf7b0ebfbb1e70540c5774e6824">&#9670;&nbsp;</a></span>make_vec2() <span class="overload">[5/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, defaultp&gt; glm::make_vec2 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga9147e4b3a5d0f4772edfbfd179d7ea0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9147e4b3a5d0f4772edfbfd179d7ea0b">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[1/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
<td>(</td>
<td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga482b60a842a5b154d3eed392417a9511"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga482b60a842a5b154d3eed392417a9511">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[2/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
<td>(</td>
<td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gacd57046034df557b8b1c457f58613623"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd57046034df557b8b1c457f58613623">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[3/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
<td>(</td>
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga8b589ed7d41a298b516d2a69169248f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b589ed7d41a298b516d2a69169248f1">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[4/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::make_vec3 </td>
<td>(</td>
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gad9e0d36ff489cb30c65ad1fa40351651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad9e0d36ff489cb30c65ad1fa40351651">&#9670;&nbsp;</a></span>make_vec3() <span class="overload">[5/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, defaultp&gt; glm::make_vec3 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga600cb97f70c5d50d3a4a145e1cafbf37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga600cb97f70c5d50d3a4a145e1cafbf37">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[1/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
<td>(</td>
<td class="paramtype">vec&lt; 1, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gaa9bd116caf28196fd1cf00b278286fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa9bd116caf28196fd1cf00b278286fa7">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[2/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
<td>(</td>
<td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga4036328ba4702c74cbdfad1fc03d1b8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4036328ba4702c74cbdfad1fc03d1b8f">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[3/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
<td>(</td>
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gaa95cb15732f708f613e65a0578895ae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa95cb15732f708f613e65a0578895ae5">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[4/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::make_vec4 </td>
<td>(</td>
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga63f576518993efc22a969f18f80e29bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63f576518993efc22a969f18f80e29bb">&#9670;&nbsp;</a></span>make_vec4() <span class="overload">[5/5]</span></h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, defaultp&gt; glm::make_vec4 </td>
<td>(</td>
<td class="paramtype">T const *const&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a vector from a pointer. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga1c64669e1ba1160ad9386e43dc57569a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c64669e1ba1160ad9386e43dc57569a">&#9670;&nbsp;</a></span>value_ptr()</h2>
2018-05-08 11:51:58 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genType::value_type const* glm::value_ptr </td>
<td>(</td>
<td class="paramtype">genType const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the constant address to the data of the input parameter. </p>
2018-09-02 21:34:18 +00:00
<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>
2018-05-08 11:51:58 +00:00
</div>
</div>
2017-08-15 19:22:51 +00:00
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2018-09-02 21:34:18 +00:00
</a> 1.8.14
2017-08-15 19:22:51 +00:00
</small></address>
</body>
</html>