glm/doc/api-0.9.3/a00168.html

456 lines
23 KiB
HTML
Raw Normal View History

2011-11-12 23:26:02 +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"/>
2011-12-07 14:50:15 +00:00
2011-11-12 23:26:02 +00:00
<title>GLM_GTC_type_ptr: Memory layout access</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2011-12-07 14:50:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2011-11-12 23:26:02 +00:00
</head>
<body>
2011-12-07 14:50:15 +00:00
<div id="top"><!-- do not remove this div! -->
2011-11-12 23:26:02 +00:00
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2011-12-07 14:50:15 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
2011-11-12 23:26:02 +00:00
</tr>
</tbody>
</table>
</div>
2011-12-07 14:50:15 +00:00
<!-- Generated by Doxygen 1.7.5 -->
2011-11-12 23:26:02 +00:00
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2011-12-07 14:50:15 +00:00
<div class="title">GLM_GTC_type_ptr: Memory layout access</div> </div>
2011-11-12 23:26:02 +00:00
<div class="ingroups"><a class="el" href="a00151.html">GTC Extensions (Stable)</a></div></div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gafd896ef261762a6ab412b61181d5ecae">make_mat2</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga1d0007368a23e89e4a0efcda06c1fa27">make_mat2x2</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga87d29f47fbd3990a344be2eac404aee3">make_mat2x3</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gaab3df4b27b38505f1413f507ebc43d18">make_mat2x4</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gacd8f067b4fb7bd3d48663102b5178ef2">make_mat3</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga8764d696bd4dfb91d689ca196414b36b">make_mat3x2</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga56ddd61c1c64dba464e392b2c2011226">make_mat3x3</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gaae2b48f5109461f13f63ccf5b4cde672">make_mat3x4</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga723dd6241d4edf2ad48b25e5007054a7">make_mat4</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga3717ecbb38c8a24043ee17bdff94bca5">make_mat4x2</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gae91cc925c4154c5fe4ef1fc7da96a9a8">make_mat4x3</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#gaa287485a3978d319e60a1cadd8a1c139">make_mat4x4</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga341b6592d08bc2e3871ceec05e0c060d">make_quat</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga60e64ef452541f76f7b5b4e04b18062a">make_vec2</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga0e2e7d24d80edb5a95a86c6a76ae5a41">make_vec3</a> (T const *const ptr)</td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-12-12 11:49:54 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga5d91c17941c35effc46b335ad6fb6252">make_vec4</a> (T const *const ptr)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::value_type const *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00168.html#ga140f5c39d519780c61e02e47daa7d18a">value_ptr</a> (genType const &amp;vec)</td></tr>
2011-11-12 23:26:02 +00:00
</table>
2011-12-07 14:50:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
2011-11-12 23:26:02 +00:00
<p>Handles the interaction between pointers and vector, matrix types. </p>
<p>This extension defines an overloaded function, glm::value_ptr, which takes any of the <a class="el" href="a00157.html">core template types</a>. It returns a pointer to the memory layout of the object. Matrix types store their values in column-major order.</p>
<p>This is useful for uploading data to matrices or copying data to buffer objects.</p>
<p>Example: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include &lt;<a class="code" href="a00050.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/glm.hpp</a>&gt;</span>
<span class="preprocessor"> #include &lt;<a class="code" href="a00123.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtc/type_ptr.hpp</a>&gt;</span>
2011-12-07 14:50:15 +00:00
glm<a class="code" href="a00155.html#ga8a44105c47072f9ea1413f15faa31f64" title="3 components vector of floating-point numbers.">::vec3</a> aVector(3);
glm<a class="code" href="a00155.html#gade0eb47c01f79384a6f38017ede17446" title="4 columns of 4 components matrix of floating-point numbers.">::mat4</a> someMatrix(1.0);
2011-11-12 23:26:02 +00:00
2011-12-12 11:49:54 +00:00
glUniform3fv(uniformLoc, 1, <a class="code" href="a00168.html#ga140f5c39d519780c61e02e47daa7d18a" title="Return the constant address to the data of the input parameter.">glm::value_ptr</a>(aVector));
glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, <a class="code" href="a00168.html#ga140f5c39d519780c61e02e47daa7d18a" title="Return the constant address to the data of the input parameter.">glm::value_ptr</a>(someMatrix));
2011-11-12 23:26:02 +00:00
</pre></div><p>&lt;<a class="el" href="a00123.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtc/type_ptr.hpp</a>&gt; need to be included to use these functionalities. </p>
<hr/><h2>Function Documentation</h2>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gafd896ef261762a6ab412b61181d5ecae"></a><!-- doxytag: member="glm::make_mat2" ref="gafd896ef261762a6ab412b61181d5ecae" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat2x2&lt;T&gt; glm::make_mat2 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga1d0007368a23e89e4a0efcda06c1fa27"></a><!-- doxytag: member="glm::make_mat2x2" ref="ga1d0007368a23e89e4a0efcda06c1fa27" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat2x2&lt;T&gt; glm::make_mat2x2 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga87d29f47fbd3990a344be2eac404aee3"></a><!-- doxytag: member="glm::make_mat2x3" ref="ga87d29f47fbd3990a344be2eac404aee3" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat2x3&lt;T&gt; glm::make_mat2x3 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gaab3df4b27b38505f1413f507ebc43d18"></a><!-- doxytag: member="glm::make_mat2x4" ref="gaab3df4b27b38505f1413f507ebc43d18" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat2x4&lt;T&gt; glm::make_mat2x4 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gacd8f067b4fb7bd3d48663102b5178ef2"></a><!-- doxytag: member="glm::make_mat3" ref="gacd8f067b4fb7bd3d48663102b5178ef2" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat3x3&lt;T&gt; glm::make_mat3 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga8764d696bd4dfb91d689ca196414b36b"></a><!-- doxytag: member="glm::make_mat3x2" ref="ga8764d696bd4dfb91d689ca196414b36b" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat3x2&lt;T&gt; glm::make_mat3x2 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga56ddd61c1c64dba464e392b2c2011226"></a><!-- doxytag: member="glm::make_mat3x3" ref="ga56ddd61c1c64dba464e392b2c2011226" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat3x3&lt;T&gt; glm::make_mat3x3 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gaae2b48f5109461f13f63ccf5b4cde672"></a><!-- doxytag: member="glm::make_mat3x4" ref="gaae2b48f5109461f13f63ccf5b4cde672" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat3x4&lt;T&gt; glm::make_mat3x4 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga723dd6241d4edf2ad48b25e5007054a7"></a><!-- doxytag: member="glm::make_mat4" ref="ga723dd6241d4edf2ad48b25e5007054a7" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat4x4&lt;T&gt; glm::make_mat4 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga3717ecbb38c8a24043ee17bdff94bca5"></a><!-- doxytag: member="glm::make_mat4x2" ref="ga3717ecbb38c8a24043ee17bdff94bca5" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat4x2&lt;T&gt; glm::make_mat4x2 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gae91cc925c4154c5fe4ef1fc7da96a9a8"></a><!-- doxytag: member="glm::make_mat4x3" ref="gae91cc925c4154c5fe4ef1fc7da96a9a8" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat4x3&lt;T&gt; glm::make_mat4x3 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="gaa287485a3978d319e60a1cadd8a1c139"></a><!-- doxytag: member="glm::make_mat4x4" ref="gaa287485a3978d319e60a1cadd8a1c139" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tmat4x4&lt;T&gt; glm::make_mat4x4 </td>
2011-11-12 23:26:02 +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 matrix from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga341b6592d08bc2e3871ceec05e0c060d"></a><!-- doxytag: member="glm::make_quat" ref="ga341b6592d08bc2e3871ceec05e0c060d" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tquat&lt;T&gt; glm::make_quat </td>
2011-11-12 23:26:02 +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>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga60e64ef452541f76f7b5b4e04b18062a"></a><!-- doxytag: member="glm::make_vec2" ref="ga60e64ef452541f76f7b5b4e04b18062a" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tvec2&lt;T&gt; glm::make_vec2 </td>
2011-11-12 23:26:02 +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 vector from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga0e2e7d24d80edb5a95a86c6a76ae5a41"></a><!-- doxytag: member="glm::make_vec3" ref="ga0e2e7d24d80edb5a95a86c6a76ae5a41" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tvec3&lt;T&gt; glm::make_vec3 </td>
2011-11-12 23:26:02 +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 vector from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga5d91c17941c35effc46b335ad6fb6252"></a><!-- doxytag: member="glm::make_vec4" ref="ga5d91c17941c35effc46b335ad6fb6252" args="(T const *const ptr)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">detail::tvec4&lt;T&gt; glm::make_vec4 </td>
2011-11-12 23:26:02 +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 vector from a pointer. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
2011-12-12 11:49:54 +00:00
<a class="anchor" id="ga140f5c39d519780c61e02e47daa7d18a"></a><!-- doxytag: member="glm::value_ptr" ref="ga140f5c39d519780c61e02e47daa7d18a" args="(genType const &amp;vec)" -->
2011-11-12 23:26:02 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-12-12 11:49:54 +00:00
<td class="memname">genType::value_type const* glm::value_ptr </td>
2011-11-12 23:26:02 +00:00
<td>(</td>
2011-12-12 11:49:54 +00:00
<td class="paramtype">genType const &amp;&#160;</td>
2011-12-07 14:50:15 +00:00
<td class="paramname"><em>vec</em></td><td>)</td>
2011-11-12 23:26:02 +00:00
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the constant address to the data of the input parameter. </p>
2011-12-12 11:49:54 +00:00
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00168.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr: Memory layout access</a> </dd></dl>
2011-11-12 23:26:02 +00:00
</div>
</div>
</div>
2011-12-07 14:50:15 +00:00
<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"/>
</a> 1.7.5
</small></address>
2011-11-12 23:26:02 +00:00
</body>
</html>