mirror of
https://github.com/g-truc/glm.git
synced 2024-11-14 14:04:36 +00:00
314 lines
13 KiB
HTML
314 lines
13 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_inertia</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_inertia</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:gadce989778e572b2cdca8879f6d546c58"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gadce989778e572b2cdca8879f6d546c58"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#gadce989778e572b2cdca8879f6d546c58">ballInertia3</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:gadce989778e572b2cdca8879f6d546c58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6493a41b36da51c3122f61f68f44a96f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga6493a41b36da51c3122f61f68f44a96f"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#ga6493a41b36da51c3122f61f68f44a96f">ballInertia4</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:ga6493a41b36da51c3122f61f68f44a96f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gafc837a32c6bd921748c4fc7ec7dda7e1"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gafc837a32c6bd921748c4fc7ec7dda7e1"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#gafc837a32c6bd921748c4fc7ec7dda7e1">boxInertia3</a> (T const &Mass, detail::tvec3< T > const &Scale)</td></tr>
|
|
<tr class="separator:gafc837a32c6bd921748c4fc7ec7dda7e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaaa39a53ec43b9c6d046b3407104990f1"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gaaa39a53ec43b9c6d046b3407104990f1"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#gaaa39a53ec43b9c6d046b3407104990f1">boxInertia4</a> (T const &Mass, detail::tvec3< T > const &Scale)</td></tr>
|
|
<tr class="separator:gaaa39a53ec43b9c6d046b3407104990f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae71f78e2dc40f7d6ffdb088549287370"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:gae71f78e2dc40f7d6ffdb088549287370"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#gae71f78e2dc40f7d6ffdb088549287370">diskInertia3</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:gae71f78e2dc40f7d6ffdb088549287370"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1f205ea0c47195a156234ca9dda8ff33"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga1f205ea0c47195a156234ca9dda8ff33"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#ga1f205ea0c47195a156234ca9dda8ff33">diskInertia4</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:ga1f205ea0c47195a156234ca9dda8ff33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga43e1260e6fb0bf29558091cd9447a6ca"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga43e1260e6fb0bf29558091cd9447a6ca"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#ga43e1260e6fb0bf29558091cd9447a6ca">sphereInertia3</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:ga43e1260e6fb0bf29558091cd9447a6ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6a8eefbd055ddea7522316677a78f649"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:ga6a8eefbd055ddea7522316677a78f649"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00176.html#ga6a8eefbd055ddea7522316677a78f649">sphereInertia4</a> (T const &Mass, T const &Radius)</td></tr>
|
|
<tr class="separator:ga6a8eefbd055ddea7522316677a78f649"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>Create inertia matrices. </p>
|
|
<p><<a class="el" href="a00040.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/inertia.hpp</a>> need to be included to use these functionalities. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gadce989778e572b2cdca8879f6d546c58"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::ballInertia3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a ball. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6493a41b36da51c3122f61f68f44a96f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::ballInertia4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a ball. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gafc837a32c6bd921748c4fc7ec7dda7e1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::boxInertia3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>Scale</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a box. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaaa39a53ec43b9c6d046b3407104990f1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::boxInertia4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
|
<td class="paramname"><em>Scale</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a box. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae71f78e2dc40f7d6ffdb088549287370"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::diskInertia3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a disk. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1f205ea0c47195a156234ca9dda8ff33"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::diskInertia4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a disk. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga43e1260e6fb0bf29558091cd9447a6ca"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat3x3<T> glm::sphereInertia3 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a sphere. </p>
|
|
<p>From GLM_GTX_inertia extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6a8eefbd055ddea7522316677a78f649"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">detail::tmat4x4<T> glm::sphereInertia4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Mass</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>Radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build an inertia matrix for a sphere. </p>
|
|
<p>From GLM_GTX_inertia 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>
|