2015-08-02 08:23:00 +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" / >
< meta name = "generator" content = "Doxygen 1.8.10" / >
2016-11-13 00:57:37 +00:00
< title > 0.9.9 API documenation: GLM_GTC_type_ptr< / title >
2015-08-02 08:23:00 +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 >
2016-11-13 00:57:37 +00:00
< 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 >
< script type = "text/javascript" >
$(document).ready(function() { init_search(); });
< / script >
2015-08-02 08:23:00 +00:00
< 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;" >
2016-11-13 00:57:37 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "logo-mini.png" / > < / td >
2015-08-02 08:23:00 +00:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2016-11-13 00:57:37 +00:00
< div id = "projectname" > 0.9.9 API documenation
2015-08-02 08:23:00 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
2016-11-13 00:57:37 +00:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2015-08-02 08:23:00 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
2016-11-13 00:57:37 +00:00
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
2015-08-02 08:23:00 +00:00
< / ul >
< / div >
< / div > <!-- top -->
2016-11-13 00:57:37 +00:00
<!-- 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 >
2015-08-02 08:23:00 +00:00
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
2016-11-12 23:39:32 +00:00
< div class = "title" > GLM_GTC_type_ptr< div class = "ingroups" > < a class = "el" href = "a00153.html" > GTC Extensions (Stable)< / a > < / div > < / div > < / div >
2015-08-02 08:23:00 +00:00
< / div > <!-- header -->
< div class = "contents" >
2016-11-12 23:39:32 +00:00
< p > Handles the interaction between pointers and vector, matrix types.
< a href = "#details" > More...< / a > < / p >
2015-08-02 08:23:00 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "memitem:ga52a16e333fef7e33ca740779482a8693" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga52a16e333fef7e33ca740779482a8693" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat2x2< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga52a16e333fef7e33ca740779482a8693" > make_mat2< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga52a16e333fef7e33ca740779482a8693" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga52a16e333fef7e33ca740779482a8693" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga52a16e333fef7e33ca740779482a8693" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadb29e510762e1042069cb28bf24ae990" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gadb29e510762e1042069cb28bf24ae990" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat2x2< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gadb29e510762e1042069cb28bf24ae990" > make_mat2x2< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gadb29e510762e1042069cb28bf24ae990" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#gadb29e510762e1042069cb28bf24ae990" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gadb29e510762e1042069cb28bf24ae990" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga37988c6dd941f617cdfab86d54375fc1" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga37988c6dd941f617cdfab86d54375fc1" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat2x3< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga37988c6dd941f617cdfab86d54375fc1" > make_mat2x3< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga37988c6dd941f617cdfab86d54375fc1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga37988c6dd941f617cdfab86d54375fc1" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga37988c6dd941f617cdfab86d54375fc1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6dfb2ac10859b0cc8e3893ea84fa95b5" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga6dfb2ac10859b0cc8e3893ea84fa95b5" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat2x4< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga6dfb2ac10859b0cc8e3893ea84fa95b5" > make_mat2x4< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga6dfb2ac10859b0cc8e3893ea84fa95b5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga6dfb2ac10859b0cc8e3893ea84fa95b5" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga6dfb2ac10859b0cc8e3893ea84fa95b5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac2bc10c519ffc8db9e24f325f23787ea" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gac2bc10c519ffc8db9e24f325f23787ea" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat3x3< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gac2bc10c519ffc8db9e24f325f23787ea" > make_mat3< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gac2bc10c519ffc8db9e24f325f23787ea" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#gac2bc10c519ffc8db9e24f325f23787ea" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gac2bc10c519ffc8db9e24f325f23787ea" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gabe1e5066608a66da7a94f802b57b4eed" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gabe1e5066608a66da7a94f802b57b4eed" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat3x2< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gabe1e5066608a66da7a94f802b57b4eed" > make_mat3x2< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gabe1e5066608a66da7a94f802b57b4eed" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#gabe1e5066608a66da7a94f802b57b4eed" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gabe1e5066608a66da7a94f802b57b4eed" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3cbe7adf857c867cee77eae4617abadd" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga3cbe7adf857c867cee77eae4617abadd" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat3x3< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga3cbe7adf857c867cee77eae4617abadd" > make_mat3x3< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga3cbe7adf857c867cee77eae4617abadd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga3cbe7adf857c867cee77eae4617abadd" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga3cbe7adf857c867cee77eae4617abadd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac083edd180ab4d4b817acc60c516209b" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gac083edd180ab4d4b817acc60c516209b" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat3x4< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gac083edd180ab4d4b817acc60c516209b" > make_mat3x4< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gac083edd180ab4d4b817acc60c516209b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#gac083edd180ab4d4b817acc60c516209b" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gac083edd180ab4d4b817acc60c516209b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2c6e6d457cb932e1ce683e4f690a6f60" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga2c6e6d457cb932e1ce683e4f690a6f60" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat4x4< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga2c6e6d457cb932e1ce683e4f690a6f60" > make_mat4< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga2c6e6d457cb932e1ce683e4f690a6f60" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga2c6e6d457cb932e1ce683e4f690a6f60" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga2c6e6d457cb932e1ce683e4f690a6f60" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga967a5b934e67ff9a6d1d0d27a377a264" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga967a5b934e67ff9a6d1d0d27a377a264" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat4x2< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga967a5b934e67ff9a6d1d0d27a377a264" > make_mat4x2< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga967a5b934e67ff9a6d1d0d27a377a264" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga967a5b934e67ff9a6d1d0d27a377a264" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga967a5b934e67ff9a6d1d0d27a377a264" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4d42daced532b33cc672280e48670a51" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga4d42daced532b33cc672280e48670a51" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat4x3< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga4d42daced532b33cc672280e48670a51" > make_mat4x3< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga4d42daced532b33cc672280e48670a51" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#ga4d42daced532b33cc672280e48670a51" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga4d42daced532b33cc672280e48670a51" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf605a5f5e2ff594e8d404b2855b09541" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gaf605a5f5e2ff594e8d404b2855b09541" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat4x4< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaf605a5f5e2ff594e8d404b2855b09541" > make_mat4x4< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gaf605a5f5e2ff594e8d404b2855b09541" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a matrix from a pointer. < a href = "a00178.html#gaf605a5f5e2ff594e8d404b2855b09541" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gaf605a5f5e2ff594e8d404b2855b09541" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaadafb6600af2633e4c98cc64c72f5269" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:gaadafb6600af2633e4c98cc64c72f5269" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaadafb6600af2633e4c98cc64c72f5269" > make_quat< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gaadafb6600af2633e4c98cc64c72f5269" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a quaternion from a pointer. < a href = "a00178.html#gaadafb6600af2633e4c98cc64c72f5269" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gaadafb6600af2633e4c98cc64c72f5269" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5f7393c30970c5949be13ceb525093a6" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga5f7393c30970c5949be13ceb525093a6" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec2< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga5f7393c30970c5949be13ceb525093a6" > make_vec2< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga5f7393c30970c5949be13ceb525093a6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a vector from a pointer. < a href = "a00178.html#ga5f7393c30970c5949be13ceb525093a6" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga5f7393c30970c5949be13ceb525093a6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga86f4bc63570db86346db2e567fb760f6" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga86f4bc63570db86346db2e567fb760f6" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec3< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga86f4bc63570db86346db2e567fb760f6" > make_vec3< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga86f4bc63570db86346db2e567fb760f6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a vector from a pointer. < a href = "a00178.html#ga86f4bc63570db86346db2e567fb760f6" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga86f4bc63570db86346db2e567fb760f6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga152345176b8951c15711f6ed4f6fc237" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:ga152345176b8951c15711f6ed4f6fc237" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< T, defaultp >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga152345176b8951c15711f6ed4f6fc237" > make_vec4< / a > (T const *const ptr)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:ga152345176b8951c15711f6ed4f6fc237" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Build a vector from a pointer. < a href = "a00178.html#ga152345176b8951c15711f6ed4f6fc237" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:ga152345176b8951c15711f6ed4f6fc237" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > < td class = "memTemplParams" colspan = "2" > template< typename genType > < / td > < / tr >
< tr class = "memitem:gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genType::value_type const *  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > value_ptr< / a > (genType const & vec)< / td > < / tr >
2016-11-12 23:39:32 +00:00
< tr class = "memdesc:gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return the constant address to the data of the input parameter. < a href = "a00178.html#gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > More...< / a > < br / > < / td > < / tr >
2016-09-11 10:44:33 +00:00
< tr class = "separator:gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-08-02 08:23:00 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2016-09-11 10:44:33 +00:00
< p > Handles the interaction between pointers and vector, matrix types. < / p >
2016-11-12 23:39:32 +00:00
< p > This extension defines an overloaded function, glm::value_ptr, which takes any of the < a class = "el" href = "a00158.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 >
2016-09-11 10:44:33 +00:00
< p > This is useful for uploading data to matrices or copying data to buffer objects.< / p >
2016-11-12 23:39:32 +00:00
< p > Example: < / p > < div class = "fragment" > < div class = "line" > < span class = "preprocessor" > #include < < a class = "code" href = "a00041.html" > glm/glm.hpp< / a > > < / span > < / div >
< div class = "line" > < span class = "preprocessor" > #include < < a class = "code" href = "a00123.html" > glm/gtc/type_ptr.hpp< / a > > < / span > < / div >
2016-09-11 10:44:33 +00:00
< div class = "line" > < / div >
2016-11-12 23:39:32 +00:00
< div class = "line" > < a class = "code" href = "a00156.html#gaa8ea2429bb3cb41a715258a447f39897" > glm::vec3< / a > aVector(3);< / div >
< div class = "line" > < a class = "code" href = "a00156.html#gade0eb47c01f79384a6f38017ede17446" > glm::mat4< / a > someMatrix(1.0);< / div >
2016-09-11 10:44:33 +00:00
< div class = "line" > < / div >
< div class = "line" > glUniform3fv(uniformLoc, 1, < a class = "code" href = "a00178.html#gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > glm::value_ptr< / a > (aVector));< / div >
< div class = "line" > glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, < a class = "code" href = "a00178.html#gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > glm::value_ptr< / a > (someMatrix));< / div >
2016-11-12 23:39:32 +00:00
< / div > <!-- fragment --> < p > < < a class = "el" href = "a00123.html" title = "GLM_GTC_type_ptr " > glm/gtc/type_ptr.hpp< / a > > need to be included to use these functionalities. < / p >
2015-08-02 08:23:00 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
2016-09-11 10:44:33 +00:00
< a class = "anchor" id = "ga52a16e333fef7e33ca740779482a8693" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat2x2< T, defaultp> glm::make_mat2 < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< p > Build a matrix from a pointer. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
2015-08-02 08:23:00 +00:00
< / div >
< / div >
2016-09-11 10:44:33 +00:00
< a class = "anchor" id = "gadb29e510762e1042069cb28bf24ae990" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat2x2< T, defaultp> glm::make_mat2x2 < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< p > Build a matrix from a pointer. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
2015-08-02 08:23:00 +00:00
< / div >
< / div >
2016-09-11 10:44:33 +00:00
< a class = "anchor" id = "ga37988c6dd941f617cdfab86d54375fc1" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat2x3< T, defaultp> glm::make_mat2x3 < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< p > Build a matrix from a pointer. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
2015-08-02 08:23:00 +00:00
< / div >
< / div >
2016-09-11 10:44:33 +00:00
< a class = "anchor" id = "ga6dfb2ac10859b0cc8e3893ea84fa95b5" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat2x4< T, defaultp> glm::make_mat2x4 < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gac2bc10c519ffc8db9e24f325f23787ea" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat3x3< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gabe1e5066608a66da7a94f802b57b4eed" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat3x2< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga3cbe7adf857c867cee77eae4617abadd" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat3x3< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gac083edd180ab4d4b817acc60c516209b" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat3x4< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga2c6e6d457cb932e1ce683e4f690a6f60" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat4x4< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga967a5b934e67ff9a6d1d0d27a377a264" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat4x2< T, defaultp> 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga4d42daced532b33cc672280e48670a51" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > GLM_FUNC_DECL tmat4x3< T, defaultp> glm::make_mat4x3 < / td >
< td > (< / td >
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
< td > < / td >
2015-08-02 08:23:00 +00:00
< / tr >
2016-09-11 10:44:33 +00:00
< / 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaf605a5f5e2ff594e8d404b2855b09541" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2015-08-02 08:23:00 +00:00
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat4x4< T, defaultp> glm::make_mat4x4 < / td >
< td > (< / td >
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
2016-09-11 10:44:33 +00:00
< / 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaadafb6600af2633e4c98cc64c72f5269" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2015-08-02 08:23:00 +00:00
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, defaultp> glm::make_quat < / td >
< td > (< / td >
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< p > Build a quaternion from a pointer. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
2015-08-02 08:23:00 +00:00
< / div >
< / div >
2016-09-11 10:44:33 +00:00
< a class = "anchor" id = "ga5f7393c30970c5949be13ceb525093a6" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec2< T, defaultp> glm::make_vec2 < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
< td > < / td >
2015-08-02 08:23:00 +00:00
< / tr >
2016-09-11 10:44:33 +00:00
< / 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga86f4bc63570db86346db2e567fb760f6" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2015-08-02 08:23:00 +00:00
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec3< T, defaultp> glm::make_vec3 < / td >
< td > (< / td >
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
2016-09-11 10:44:33 +00:00
< / 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga152345176b8951c15711f6ed4f6fc237" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2015-08-02 08:23:00 +00:00
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< T, defaultp> glm::make_vec4 < / td >
< td > (< / td >
< td class = "paramtype" > T const *const  < / td >
< td class = "paramname" > < em > ptr< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< p > Build a vector from a pointer. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaf019636bb8bd7c9efb7c7ce3bb23bcfc" > < / a >
2015-08-02 08:23:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2016-09-11 10:44:33 +00:00
< td class = "memname" > GLM_FUNC_DECL genType::value_type const* glm::value_ptr < / td >
2015-08-02 08:23:00 +00:00
< td > (< / td >
2016-09-11 10:44:33 +00:00
< td class = "paramtype" > genType const &   < / td >
< td class = "paramname" > < em > vec< / em > < / td > < td > )< / td >
2015-08-02 08:23:00 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2016-09-11 10:44:33 +00:00
< 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 = "a00178.html" title = "Handles the interaction between pointers and vector, matrix types. " > GLM_GTC_type_ptr< / a > < / dd > < / dl >
2015-08-02 08:23:00 +00:00
< / 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.10
< / small > < / address >
< / body >
< / html >