mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
327 lines
12 KiB
HTML
327 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_inertia: Intertial matrix</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div! -->
|
|
|
|
|
|
<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>
|
|
|
|
<!-- Generated by Doxygen 1.7.5 -->
|
|
<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">
|
|
<div class="title">GLM_GTX_inertia: Intertial matrix</div> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
<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="a00187.html#gadce989778e572b2cdca8879f6d546c58">ballInertia3</a> (T const &Mass, T const &Radius)</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="a00187.html#ga6493a41b36da51c3122f61f68f44a96f">ballInertia4</a> (T const &Mass, T const &Radius)</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="a00187.html#gafc837a32c6bd921748c4fc7ec7dda7e1">boxInertia3</a> (T const &Mass, detail::tvec3< T > const &Scale)</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="a00187.html#gaaa39a53ec43b9c6d046b3407104990f1">boxInertia4</a> (T const &Mass, detail::tvec3< T > const &Scale)</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="a00187.html#gae71f78e2dc40f7d6ffdb088549287370">diskInertia3</a> (T const &Mass, T const &Radius)</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="a00187.html#ga1f205ea0c47195a156234ca9dda8ff33">diskInertia4</a> (T const &Mass, T const &Radius)</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="a00187.html#ga43e1260e6fb0bf29558091cd9447a6ca">sphereInertia3</a> (T const &Mass, T const &Radius)</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="a00187.html#ga6a8eefbd055ddea7522316677a78f649">sphereInertia4</a> (T const &Mass, T const &Radius)</td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<p>Create inertia matrices. </p>
|
|
<p><<a class="el" href="a00055.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/inertia.hpp</a>> need to be included to use these functionalities. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="gadce989778e572b2cdca8879f6d546c58"></a><!-- doxytag: member="glm::ballInertia3" ref="gadce989778e572b2cdca8879f6d546c58" args="(T const &Mass, T const &Radius)" -->
|
|
<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><!-- doxytag: member="glm::ballInertia4" ref="ga6493a41b36da51c3122f61f68f44a96f" args="(T const &Mass, T const &Radius)" -->
|
|
<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><!-- doxytag: member="glm::boxInertia3" ref="gafc837a32c6bd921748c4fc7ec7dda7e1" args="(T const &Mass, detail::tvec3< T > const &Scale)" -->
|
|
<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><!-- doxytag: member="glm::boxInertia4" ref="gaaa39a53ec43b9c6d046b3407104990f1" args="(T const &Mass, detail::tvec3< T > const &Scale)" -->
|
|
<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><!-- doxytag: member="glm::diskInertia3" ref="gae71f78e2dc40f7d6ffdb088549287370" args="(T const &Mass, T const &Radius)" -->
|
|
<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><!-- doxytag: member="glm::diskInertia4" ref="ga1f205ea0c47195a156234ca9dda8ff33" args="(T const &Mass, T const &Radius)" -->
|
|
<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><!-- doxytag: member="glm::sphereInertia3" ref="ga43e1260e6fb0bf29558091cd9447a6ca" args="(T const &Mass, T const &Radius)" -->
|
|
<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><!-- doxytag: member="glm::sphereInertia4" ref="ga6a8eefbd055ddea7522316677a78f649" args="(T const &Mass, T const &Radius)" -->
|
|
<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>
|
|
|
|
|
|
<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.5
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|