mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 11:54:36 +00:00
415 lines
19 KiB
HTML
415 lines
19 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_major_storage: Build matrix</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_major_storage: Build matrix</h1> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
|
|
<p>Build matrices with specific matrix order, row or column.
|
|
<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 T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga8f80c3d480bab7b967fd3792120252f8">colMajor2</a> (detail::tvec2< T > const &v1, detail::tvec2< T > const &v2)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaef1a61c8fc392db16a3e04e65f9bf5ea">colMajor2</a> (detail::tmat2x2< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga2eb2bd8e831e011b3442b4ce30e0be87">colMajor3</a> (detail::tvec3< T > const &v1, detail::tvec3< T > const &v2, detail::tvec3< T > const &v3)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga861606a1f86b8bbb1fd589a0f0b4a81e">colMajor3</a> (detail::tmat3x3< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga06d02e9e9d2a010c932f645e58b8b768">colMajor4</a> (detail::tvec4< T > const &v1, detail::tvec4< T > const &v2, detail::tvec4< T > const &v3, detail::tvec4< T > const &v4)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga96c1d4ad65994ac224422798476d4bc0">colMajor4</a> (detail::tmat4x4< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga416aae840e069ca937d2ea4d232d5a50">rowMajor2</a> (detail::tmat2x2< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gad0932cb5eca17ba07bfb076c88159f26">rowMajor2</a> (detail::tvec2< T > const &v1, detail::tvec2< T > const &v2)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gac07a8a425e88a1b41b1521117786ee75">rowMajor3</a> (detail::tvec3< T > const &v1, detail::tvec3< T > const &v2, detail::tvec3< T > const &v3)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga325d84c007ec1550308c49b9bf8a31e5">rowMajor3</a> (detail::tmat3x3< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga238b133af831bd15dd4bfcf4ce525b9b">rowMajor4</a> (detail::tmat4x4< T > const &m)</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga05ff4a38d1202e66f981f5172aeff232">rowMajor4</a> (detail::tvec4< T > const &v1, detail::tvec4< T > const &v2, detail::tvec4< T > const &v3, detail::tvec4< T > const &v4)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Build matrices with specific matrix order, row or column. </p>
|
|
<p><<a class="el" href="a00072.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/matrix_major_storage.hpp</a>> need to be included to use these functionalities. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="ga8f80c3d480bab7b967fd3792120252f8"></a><!-- doxytag: member="glm::colMajor2" ref="ga8f80c3d480bab7b967fd3792120252f8" args="(detail::tvec2< T > const &v1, detail::tvec2< T > const &v2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::colMajor2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
|
<td class="paramname"><em>v2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from column vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaef1a61c8fc392db16a3e04e65f9bf5ea"></a><!-- doxytag: member="glm::colMajor2" ref="gaef1a61c8fc392db16a3e04e65f9bf5ea" args="(detail::tmat2x2< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::colMajor2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2eb2bd8e831e011b3442b4ce30e0be87"></a><!-- doxytag: member="glm::colMajor3" ref="ga2eb2bd8e831e011b3442b4ce30e0be87" args="(detail::tvec3< T > const &v1, detail::tvec3< T > const &v2, detail::tvec3< T > const &v3)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::colMajor3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v3</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from column vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga861606a1f86b8bbb1fd589a0f0b4a81e"></a><!-- doxytag: member="glm::colMajor3" ref="ga861606a1f86b8bbb1fd589a0f0b4a81e" args="(detail::tmat3x3< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::colMajor3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga06d02e9e9d2a010c932f645e58b8b768"></a><!-- doxytag: member="glm::colMajor4" ref="ga06d02e9e9d2a010c932f645e58b8b768" args="(detail::tvec4< T > const &v1, detail::tvec4< T > const &v2, detail::tvec4< T > const &v3, detail::tvec4< T > const &v4)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::colMajor4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v4</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from column vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga96c1d4ad65994ac224422798476d4bc0"></a><!-- doxytag: member="glm::colMajor4" ref="ga96c1d4ad65994ac224422798476d4bc0" args="(detail::tmat4x4< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::colMajor4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a column major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga416aae840e069ca937d2ea4d232d5a50"></a><!-- doxytag: member="glm::rowMajor2" ref="ga416aae840e069ca937d2ea4d232d5a50" args="(detail::tmat2x2< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::rowMajor2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad0932cb5eca17ba07bfb076c88159f26"></a><!-- doxytag: member="glm::rowMajor2" ref="gad0932cb5eca17ba07bfb076c88159f26" args="(detail::tvec2< T > const &v1, detail::tvec2< T > const &v2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat2x2<T> glm::rowMajor2 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
|
<td class="paramname"><em>v2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from row vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac07a8a425e88a1b41b1521117786ee75"></a><!-- doxytag: member="glm::rowMajor3" ref="gac07a8a425e88a1b41b1521117786ee75" args="(detail::tvec3< T > const &v1, detail::tvec3< T > const &v2, detail::tvec3< T > const &v3)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::rowMajor3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>v3</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from row vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga325d84c007ec1550308c49b9bf8a31e5"></a><!-- doxytag: member="glm::rowMajor3" ref="ga325d84c007ec1550308c49b9bf8a31e5" args="(detail::tmat3x3< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::rowMajor3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga238b133af831bd15dd4bfcf4ce525b9b"></a><!-- doxytag: member="glm::rowMajor4" ref="ga238b133af831bd15dd4bfcf4ce525b9b" args="(detail::tmat4x4< T > const &m)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::rowMajor4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
|
<td class="paramname"><em>m</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from other matrix. </p>
|
|
<p>From GLM_GTX_matrix_major_storage extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga05ff4a38d1202e66f981f5172aeff232"></a><!-- doxytag: member="glm::rowMajor4" ref="ga05ff4a38d1202e66f981f5172aeff232" args="(detail::tvec4< T > const &v1, detail::tvec4< T > const &v2, detail::tvec4< T > const &v3, detail::tvec4< T > const &v4)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::rowMajor4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec4< T > const & </td>
|
|
<td class="paramname"><em>v4</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a row major matrix from row vectors. </p>
|
|
<p>From GLM_GTX_matrix_major_storage 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>
|