mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
256 lines
12 KiB
HTML
256 lines
12 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_GTX_matrix_operation</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_GTX_matrix_operation</div> </div>
|
|
<div class="ingroups"><a class="el" href="a00139.html">GTX Extensions (Experimental)</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:gabe577b7504108952eb7a6dad10699cc0"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:gabe577b7504108952eb7a6dad10699cc0"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#gabe577b7504108952eb7a6dad10699cc0">diagonal2x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr class="separator:gabe577b7504108952eb7a6dad10699cc0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gada165842cf06dc7224850b7408576b25"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:gada165842cf06dc7224850b7408576b25"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#gada165842cf06dc7224850b7408576b25">diagonal2x3</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr class="separator:gada165842cf06dc7224850b7408576b25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabe9910eda35b16bfe455d11b3f946d37"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:gabe9910eda35b16bfe455d11b3f946d37"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#gabe9910eda35b16bfe455d11b3f946d37">diagonal2x4</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr class="separator:gabe9910eda35b16bfe455d11b3f946d37"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf0d798eaf2ae1a04e943e34ca6650ff7"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:gaf0d798eaf2ae1a04e943e34ca6650ff7"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#gaf0d798eaf2ae1a04e943e34ca6650ff7">diagonal3x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr class="separator:gaf0d798eaf2ae1a04e943e34ca6650ff7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3abe19ac33f7210ca982c0b474772bac"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:ga3abe19ac33f7210ca982c0b474772bac"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#ga3abe19ac33f7210ca982c0b474772bac">diagonal3x3</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr class="separator:ga3abe19ac33f7210ca982c0b474772bac"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga113fa9ed40e506a12b5aea2c9b75afca"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:ga113fa9ed40e506a12b5aea2c9b75afca"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#ga113fa9ed40e506a12b5aea2c9b75afca">diagonal3x4</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr class="separator:ga113fa9ed40e506a12b5aea2c9b75afca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0eee99e7ad936da2db23cb7a83e743a5"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:ga0eee99e7ad936da2db23cb7a83e743a5"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#ga0eee99e7ad936da2db23cb7a83e743a5">diagonal4x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr class="separator:ga0eee99e7ad936da2db23cb7a83e743a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac1f73e28418802c2ff536c31242e5dd1"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:gac1f73e28418802c2ff536c31242e5dd1"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#gac1f73e28418802c2ff536c31242e5dd1">diagonal4x3</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr class="separator:gac1f73e28418802c2ff536c31242e5dd1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga25f5af850dbb9b484c0a46e25cf593a7"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr class="memitem:ga25f5af850dbb9b484c0a46e25cf593a7"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00184.html#ga25f5af850dbb9b484c0a46e25cf593a7">diagonal4x4</a> (detail::tvec4< valType > const &v)</td></tr>
|
|
<tr class="separator:ga25f5af850dbb9b484c0a46e25cf593a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>Build diagonal matrices from vectors. </p>
|
|
<p><<a class="el" href="a00058.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/matrix_operation.hpp</a>> need to be included to use these functionalities. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gabe577b7504108952eb7a6dad10699cc0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<valType> glm::diagonal2x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gada165842cf06dc7224850b7408576b25"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x3<valType> glm::diagonal2x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabe9910eda35b16bfe455d11b3f946d37"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x4<valType> glm::diagonal2x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf0d798eaf2ae1a04e943e34ca6650ff7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x2<valType> glm::diagonal3x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3abe19ac33f7210ca982c0b474772bac"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<valType> glm::diagonal3x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga113fa9ed40e506a12b5aea2c9b75afca"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x4<valType> glm::diagonal3x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0eee99e7ad936da2db23cb7a83e743a5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x2<valType> glm::diagonal4x2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac1f73e28418802c2ff536c31242e5dd1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x3<valType> glm::diagonal4x3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga25f5af850dbb9b484c0a46e25cf593a7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::diagonal4x4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec4< valType > const & </td>
|
|
<td class="paramname"><em>v</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a diagonal matrix. </p>
|
|
<p>From GLM_GTX_matrix_operation extension. </p>
|
|
|
|
</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>
|