mirror of
https://github.com/g-truc/glm.git
synced 2024-11-12 21:31:47 +00:00
366 lines
15 KiB
HTML
366 lines
15 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_transform2: Extra transformation matrices</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_transform2: Extra transformation matrices</h1> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
|
|
<p>Add extra transformation matrices.
|
|
<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::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00221.html#ga912eba2dd2b935ebd4dbe4a177cd0b17">proj2D</a> (const detail::tmat3x3< T > &m, const detail::tvec3< T > &normal)</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="a00221.html#ga2345d37cbad3639e97cdb39e81ea1365">proj3D</a> (const detail::tmat4x4< T > &m, const detail::tvec3< T > &normal)</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="a00221.html#gaf76a29d86baa073bb1f4f59e9846731d">scaleBias</a> (valType scale, valType bias)</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="a00221.html#ga620af6431cfd54cbcfb287c620a85c4a">scaleBias</a> (detail::tmat4x4< valType > const &m, valType scale, valType bias)</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="a00221.html#ga53714ca76c3969c00e65722a49e4b040">shearX2D</a> (detail::tmat3x3< T > const &m, T y)</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="a00221.html#gadd4e78d3c4462b4316898ba9e2037440">shearX3D</a> (const detail::tmat4x4< T > &m, T y, T z)</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="a00221.html#ga18f0b427a03d8e67962c9aa4dd97a781">shearY2D</a> (detail::tmat3x3< T > const &m, T x)</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="a00221.html#gab7294d7b6c13af7b3783053f9222f26b">shearY3D</a> (const detail::tmat4x4< T > &m, T x, T z)</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="a00221.html#ga7ec06225bdc58dbe6d2c71439802a63d">shearZ3D</a> (const detail::tmat4x4< T > &m, T x, T y)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Add extra transformation matrices. </p>
|
|
<p><<a class="el" href="a00106.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/transform2.hpp</a>> need to be included to use these functionalities. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="ga912eba2dd2b935ebd4dbe4a177cd0b17"></a><!-- doxytag: member="glm::proj2D" ref="ga912eba2dd2b935ebd4dbe4a177cd0b17" args="(const detail::tmat3x3< T > &m, const detail::tvec3< T > &normal)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::proj2D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const detail::tmat3x3< T > & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const detail::tvec3< T > & </td>
|
|
<td class="paramname"><em>normal</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build planar projection matrix along normal axis. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2345d37cbad3639e97cdb39e81ea1365"></a><!-- doxytag: member="glm::proj3D" ref="ga2345d37cbad3639e97cdb39e81ea1365" args="(const detail::tmat4x4< T > &m, const detail::tvec3< T > &normal)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::proj3D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const detail::tmat4x4< T > & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const detail::tvec3< T > & </td>
|
|
<td class="paramname"><em>normal</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build planar projection matrix along normal axis. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf76a29d86baa073bb1f4f59e9846731d"></a><!-- doxytag: member="glm::scaleBias" ref="gaf76a29d86baa073bb1f4f59e9846731d" args="(valType scale, valType bias)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::scaleBias </td>
|
|
<td>(</td>
|
|
<td class="paramtype">valType </td>
|
|
<td class="paramname"><em>scale</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType </td>
|
|
<td class="paramname"><em>bias</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a scale bias matrix. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga620af6431cfd54cbcfb287c620a85c4a"></a><!-- doxytag: member="glm::scaleBias" ref="ga620af6431cfd54cbcfb287c620a85c4a" args="(detail::tmat4x4< valType > const &m, valType scale, valType bias)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::scaleBias </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat4x4< valType > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType </td>
|
|
<td class="paramname"><em>scale</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">valType </td>
|
|
<td class="paramname"><em>bias</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Build a scale bias matrix. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga53714ca76c3969c00e65722a49e4b040"></a><!-- doxytag: member="glm::shearX2D" ref="ga53714ca76c3969c00e65722a49e4b040" args="(detail::tmat3x3< T > const &m, T y)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::shearX2D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>y</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Transforms a matrix with a shearing on X axis. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gadd4e78d3c4462b4316898ba9e2037440"></a><!-- doxytag: member="glm::shearX3D" ref="gadd4e78d3c4462b4316898ba9e2037440" args="(const detail::tmat4x4< T > &m, T y, T z)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::shearX3D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const detail::tmat4x4< T > & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>z</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga18f0b427a03d8e67962c9aa4dd97a781"></a><!-- doxytag: member="glm::shearY2D" ref="ga18f0b427a03d8e67962c9aa4dd97a781" args="(detail::tmat3x3< T > const &m, T x)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::shearY2D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>x</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Transforms a matrix with a shearing on Y axis. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab7294d7b6c13af7b3783053f9222f26b"></a><!-- doxytag: member="glm::shearY3D" ref="gab7294d7b6c13af7b3783053f9222f26b" args="(const detail::tmat4x4< T > &m, T x, T z)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::shearY3D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const detail::tmat4x4< T > & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>z</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Transforms a matrix with a shearing on Y axis. </p>
|
|
<p>From GLM_GTX_transform2 extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7ec06225bdc58dbe6d2c71439802a63d"></a><!-- doxytag: member="glm::shearZ3D" ref="ga7ec06225bdc58dbe6d2c71439802a63d" args="(const detail::tmat4x4< T > &m, T x, T y)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::shearZ3D </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const detail::tmat4x4< T > & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>y</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Transforms a matrix with a shearing on Z axis. </p>
|
|
<p>From GLM_GTX_transform2 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>
|