mirror of
https://github.com/g-truc/glm.git
synced 2024-11-14 14:04:36 +00:00
443 lines
24 KiB
HTML
443 lines
24 KiB
HTML
<!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"/>
|
|
<title>GLM_GTC_type_ptr</title>
|
|
<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="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;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.2 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GLM_GTC_type_ptr</div> </div>
|
|
<div class="ingroups"><a class="el" href="a00138.html">GTC Extensions (Stable)</a></div></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>
|
|
<tr class="memitem:gafd896ef261762a6ab412b61181d5ecae"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gafd896ef261762a6ab412b61181d5ecae"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gafd896ef261762a6ab412b61181d5ecae">make_mat2</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gafd896ef261762a6ab412b61181d5ecae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1d0007368a23e89e4a0efcda06c1fa27"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga1d0007368a23e89e4a0efcda06c1fa27"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga1d0007368a23e89e4a0efcda06c1fa27">make_mat2x2</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga1d0007368a23e89e4a0efcda06c1fa27"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga87d29f47fbd3990a344be2eac404aee3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga87d29f47fbd3990a344be2eac404aee3"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga87d29f47fbd3990a344be2eac404aee3">make_mat2x3</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga87d29f47fbd3990a344be2eac404aee3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaab3df4b27b38505f1413f507ebc43d18"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gaab3df4b27b38505f1413f507ebc43d18"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gaab3df4b27b38505f1413f507ebc43d18">make_mat2x4</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gaab3df4b27b38505f1413f507ebc43d18"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacd8f067b4fb7bd3d48663102b5178ef2"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gacd8f067b4fb7bd3d48663102b5178ef2"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gacd8f067b4fb7bd3d48663102b5178ef2">make_mat3</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gacd8f067b4fb7bd3d48663102b5178ef2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8764d696bd4dfb91d689ca196414b36b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga8764d696bd4dfb91d689ca196414b36b"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga8764d696bd4dfb91d689ca196414b36b">make_mat3x2</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga8764d696bd4dfb91d689ca196414b36b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga56ddd61c1c64dba464e392b2c2011226"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga56ddd61c1c64dba464e392b2c2011226"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga56ddd61c1c64dba464e392b2c2011226">make_mat3x3</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga56ddd61c1c64dba464e392b2c2011226"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaae2b48f5109461f13f63ccf5b4cde672"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gaae2b48f5109461f13f63ccf5b4cde672"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gaae2b48f5109461f13f63ccf5b4cde672">make_mat3x4</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gaae2b48f5109461f13f63ccf5b4cde672"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga723dd6241d4edf2ad48b25e5007054a7"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga723dd6241d4edf2ad48b25e5007054a7"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga723dd6241d4edf2ad48b25e5007054a7">make_mat4</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga723dd6241d4edf2ad48b25e5007054a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3717ecbb38c8a24043ee17bdff94bca5"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga3717ecbb38c8a24043ee17bdff94bca5"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga3717ecbb38c8a24043ee17bdff94bca5">make_mat4x2</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga3717ecbb38c8a24043ee17bdff94bca5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae91cc925c4154c5fe4ef1fc7da96a9a8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gae91cc925c4154c5fe4ef1fc7da96a9a8"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gae91cc925c4154c5fe4ef1fc7da96a9a8">make_mat4x3</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gae91cc925c4154c5fe4ef1fc7da96a9a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa287485a3978d319e60a1cadd8a1c139"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gaa287485a3978d319e60a1cadd8a1c139"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#gaa287485a3978d319e60a1cadd8a1c139">make_mat4x4</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:gaa287485a3978d319e60a1cadd8a1c139"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga341b6592d08bc2e3871ceec05e0c060d"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga341b6592d08bc2e3871ceec05e0c060d"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga341b6592d08bc2e3871ceec05e0c060d">make_quat</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga341b6592d08bc2e3871ceec05e0c060d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga60e64ef452541f76f7b5b4e04b18062a"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga60e64ef452541f76f7b5b4e04b18062a"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga60e64ef452541f76f7b5b4e04b18062a">make_vec2</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga60e64ef452541f76f7b5b4e04b18062a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0e2e7d24d80edb5a95a86c6a76ae5a41"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga0e2e7d24d80edb5a95a86c6a76ae5a41"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga0e2e7d24d80edb5a95a86c6a76ae5a41">make_vec3</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga0e2e7d24d80edb5a95a86c6a76ae5a41"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5d91c17941c35effc46b335ad6fb6252"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga5d91c17941c35effc46b335ad6fb6252"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga5d91c17941c35effc46b335ad6fb6252">make_vec4</a> (T const *const ptr)</td></tr>
|
|
<tr class="separator:ga5d91c17941c35effc46b335ad6fb6252"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga140f5c39d519780c61e02e47daa7d18a"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga140f5c39d519780c61e02e47daa7d18a"><td class="memTemplItemLeft" align="right" valign="top">genType::value_type const * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00158.html#ga140f5c39d519780c61e02e47daa7d18a">value_ptr</a> (genType const &vec)</td></tr>
|
|
<tr class="separator:ga140f5c39d519780c61e02e47daa7d18a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<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="a00144.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"><div class="line"><span class="preprocessor">#include <<a class="code" href="a00035.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/glm.hpp</a>></span></div>
|
|
<div class="line"><span class="preprocessor">#include <<a class="code" href="a00109.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtc/type_ptr.hpp</a>></span></div>
|
|
<div class="line"></div>
|
|
<div class="line"><a class="code" href="a00142.html#ga8a44105c47072f9ea1413f15faa31f64" title="3 components vector of floating-point numbers.">glm::vec3</a> aVector(3);</div>
|
|
<div class="line"><a class="code" href="a00142.html#gade0eb47c01f79384a6f38017ede17446" title="4 columns of 4 components matrix of floating-point numbers.">glm::mat4</a> someMatrix(1.0);</div>
|
|
<div class="line"></div>
|
|
<div class="line">glUniform3fv(uniformLoc, 1, <a class="code" href="a00158.html#ga140f5c39d519780c61e02e47daa7d18a" title="Return the constant address to the data of the input parameter.">glm::value_ptr</a>(aVector));</div>
|
|
<div class="line">glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, <a class="code" href="a00158.html#ga140f5c39d519780c61e02e47daa7d18a" title="Return the constant address to the data of the input parameter.">glm::value_ptr</a>(someMatrix));</div>
|
|
</div><!-- fragment --><p><<a class="el" href="a00109.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtc/type_ptr.hpp</a>> need to be included to use these functionalities. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gafd896ef261762a6ab412b61181d5ecae"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::make_mat2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1d0007368a23e89e4a0efcda06c1fa27"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::make_mat2x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga87d29f47fbd3990a344be2eac404aee3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x3<T> glm::make_mat2x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaab3df4b27b38505f1413f507ebc43d18"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x4<T> glm::make_mat2x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gacd8f067b4fb7bd3d48663102b5178ef2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::make_mat3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8764d696bd4dfb91d689ca196414b36b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x2<T> glm::make_mat3x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga56ddd61c1c64dba464e392b2c2011226"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::make_mat3x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaae2b48f5109461f13f63ccf5b4cde672"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x4<T> glm::make_mat3x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga723dd6241d4edf2ad48b25e5007054a7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::make_mat4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3717ecbb38c8a24043ee17bdff94bca5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x2<T> glm::make_mat4x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae91cc925c4154c5fe4ef1fc7da96a9a8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x3<T> glm::make_mat4x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa287485a3978d319e60a1cadd8a1c139"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::make_mat4x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga341b6592d08bc2e3871ceec05e0c060d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tquat<T> glm::make_quat </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga60e64ef452541f76f7b5b4e04b18062a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tvec2<T> glm::make_vec2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0e2e7d24d80edb5a95a86c6a76ae5a41"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tvec3<T> glm::make_vec3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5d91c17941c35effc46b335ad6fb6252"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tvec4<T> glm::make_vec4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const *const </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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga140f5c39d519780c61e02e47daa7d18a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType::value_type const* glm::value_ptr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">genType const & </td>
|
|
<td class="paramname"><em>vec</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>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00158.html" title="Handles the interaction between pointers and vector, matrix types.">GLM_GTC_type_ptr</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.2
|
|
</small></address>
|
|
</body>
|
|
</html>
|