mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
253 lines
12 KiB
HTML
253 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"/>
|
|
<title>GLM_GTX_matrix_operation: Extended matrix operations</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<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="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">
|
|
<h1>GLM_GTX_matrix_operation: Extended matrix operations</h1> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
|
|
<p>Build diagonal matrices from vectors.
|
|
<a href="#_details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga5694edd1fbe35c575ed416786f6ae07a">diagonal2x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga9a959cfe709fecfbea09217d9583fe84">diagonal2x3</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga21e5ec8de7abd2d493a80c8aac2693ed">diagonal2x4</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#gaa17f505259bced7cf8e48aa2b60eb85e">diagonal3x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga0d4954c5d44e2ecf2aed91d7276bf23a">diagonal3x3</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga78cc3ea6be33baca2f8bc4ad32250092">diagonal3x4</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x2< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#gaaf73d4c0ce55eecef8eb035f4dbcc99c">diagonal4x2</a> (detail::tvec2< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga29ded9271be66807f10713c50c56964f">diagonal4x3</a> (detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00195.html#ga319e444e4759374757882b7cb71ffa41">diagonal4x4</a> (detail::tvec4< valType > const &v)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Build diagonal matrices from vectors. </p>
|
|
<p><<a class="el" href="a00073.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/matrix_operation.hpp</a>> need to be included to use these functionalities. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="ga5694edd1fbe35c575ed416786f6ae07a"></a><!-- doxytag: member="glm::diagonal2x2" ref="ga5694edd1fbe35c575ed416786f6ae07a" args="(detail::tvec2< valType > const &v)" -->
|
|
<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="ga9a959cfe709fecfbea09217d9583fe84"></a><!-- doxytag: member="glm::diagonal2x3" ref="ga9a959cfe709fecfbea09217d9583fe84" args="(detail::tvec2< valType > const &v)" -->
|
|
<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="ga21e5ec8de7abd2d493a80c8aac2693ed"></a><!-- doxytag: member="glm::diagonal2x4" ref="ga21e5ec8de7abd2d493a80c8aac2693ed" args="(detail::tvec2< valType > const &v)" -->
|
|
<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="gaa17f505259bced7cf8e48aa2b60eb85e"></a><!-- doxytag: member="glm::diagonal3x2" ref="gaa17f505259bced7cf8e48aa2b60eb85e" args="(detail::tvec2< valType > const &v)" -->
|
|
<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="ga0d4954c5d44e2ecf2aed91d7276bf23a"></a><!-- doxytag: member="glm::diagonal3x3" ref="ga0d4954c5d44e2ecf2aed91d7276bf23a" args="(detail::tvec3< valType > const &v)" -->
|
|
<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="ga78cc3ea6be33baca2f8bc4ad32250092"></a><!-- doxytag: member="glm::diagonal3x4" ref="ga78cc3ea6be33baca2f8bc4ad32250092" args="(detail::tvec3< valType > const &v)" -->
|
|
<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="gaaf73d4c0ce55eecef8eb035f4dbcc99c"></a><!-- doxytag: member="glm::diagonal4x2" ref="gaaf73d4c0ce55eecef8eb035f4dbcc99c" args="(detail::tvec2< valType > const &v)" -->
|
|
<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="ga29ded9271be66807f10713c50c56964f"></a><!-- doxytag: member="glm::diagonal4x3" ref="ga29ded9271be66807f10713c50c56964f" args="(detail::tvec3< valType > const &v)" -->
|
|
<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="ga319e444e4759374757882b7cb71ffa41"></a><!-- doxytag: member="glm::diagonal4x4" ref="ga319e444e4759374757882b7cb71ffa41" args="(detail::tvec4< valType > const &v)" -->
|
|
<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>
|
|
<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.7.3 </small></address>
|
|
</body>
|
|
</html>
|