mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 19:34:36 +00:00
149 lines
7.3 KiB
HTML
149 lines
7.3 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: glm::gtc::matrix_transform Namespace Reference</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.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
|
|
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><a class="el" href="a00124.html">glm</a>::<a class="el" href="a00142.html">gtc</a>::<a class="el" href="a00147.html">matrix_transform</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>glm::gtc::matrix_transform Namespace Reference</h1>
|
|
<p>GLM_GTC_matrix_transform extension: Add transformation matrices.
|
|
<a href="#_details">More...</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Functions</h2></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="a00147.html#a512acbd6ae706948be4fb2c4e1abd482">rotate</a> (detail::tmat4x4< valType > const &m, valType const &angle, detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees. <a href="#a512acbd6ae706948be4fb2c4e1abd482"></a><br/></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="a00147.html#a6dcab6e67350b3ccd2473a571727c4a0">scale</a> (detail::tmat4x4< valType > const &m, detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Builds a scale 4 * 4 matrix created from 3 scalars. <a href="#a6dcab6e67350b3ccd2473a571727c4a0"></a><br/></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="a00147.html#af6c7b3ce9b0375274bf8264c4c2222cc">translate</a> (detail::tmat4x4< valType > const &m, detail::tvec3< valType > const &v)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Builds a translation 4 * 4 matrix created from a vector of 3 components. <a href="#af6c7b3ce9b0375274bf8264c4c2222cc"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>GLM_GTC_matrix_transform extension: Add transformation matrices. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="a512acbd6ae706948be4fb2c4e1abd482"></a><!-- doxytag: member="glm::gtc::matrix_transform::rotate" ref="a512acbd6ae706948be4fb2c4e1abd482" args="(detail::tmat4x4< valType > const &m, valType const &angle, detail::tvec3< valType > const &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::gtc::matrix_transform::rotate </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 const & </td>
|
|
<td class="paramname"> <em>angle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"> <em>v</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees. </p>
|
|
<p>From GLM_GTC_matrix_transform extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6dcab6e67350b3ccd2473a571727c4a0"></a><!-- doxytag: member="glm::gtc::matrix_transform::scale" ref="a6dcab6e67350b3ccd2473a571727c4a0" args="(detail::tmat4x4< valType > const &m, detail::tvec3< valType > const &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::gtc::matrix_transform::scale </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">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"> <em>v</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Builds a scale 4 * 4 matrix created from 3 scalars. </p>
|
|
<p>From GLM_GTC_matrix_transform extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af6c7b3ce9b0375274bf8264c4c2222cc"></a><!-- doxytag: member="glm::gtc::matrix_transform::translate" ref="af6c7b3ce9b0375274bf8264c4c2222cc" args="(detail::tmat4x4< valType > const &m, detail::tvec3< valType > const &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<valType> glm::gtc::matrix_transform::translate </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">detail::tvec3< valType > const & </td>
|
|
<td class="paramname"> <em>v</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Builds a translation 4 * 4 matrix created from a vector of 3 components. </p>
|
|
<p>From GLM_GTC_matrix_transform extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Nov 16 11:23:24 2009 for GLM by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
|
</body>
|
|
</html>
|