mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
311 lines
12 KiB
HTML
311 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>
|
|
<!-- 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_inertia: Intertial matrix</h1> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
|
|
<p>Create inertia 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="a00187.html#gaea800f6078b37bb024d45444a9215e02">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#ga1cbcd90059d98004a316f92b0fd7937b">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#ga4bdfb922feff8af8f482133f6900f897">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#gacf5a563ec111fbcb78240a27f05d378d">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#gaf5b8bbd637c24ab86bbfd829cc5d9572">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#gab55a80aba6d32b4aef39b732845b077d">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#gab230e5c03234daebcd4925b86c825196">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#gaee9d1052adc7fcccfd4e6ab9dd32405e">sphereInertia4</a> (T const &Mass, T const &Radius)</td></tr>
|
|
</table>
|
|
<hr/><a name="_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="gaea800f6078b37bb024d45444a9215e02"></a><!-- doxytag: member="glm::ballInertia3" ref="gaea800f6078b37bb024d45444a9215e02" 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="ga1cbcd90059d98004a316f92b0fd7937b"></a><!-- doxytag: member="glm::ballInertia4" ref="ga1cbcd90059d98004a316f92b0fd7937b" 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="ga4bdfb922feff8af8f482133f6900f897"></a><!-- doxytag: member="glm::boxInertia3" ref="ga4bdfb922feff8af8f482133f6900f897" 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="gacf5a563ec111fbcb78240a27f05d378d"></a><!-- doxytag: member="glm::boxInertia4" ref="gacf5a563ec111fbcb78240a27f05d378d" 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="gaf5b8bbd637c24ab86bbfd829cc5d9572"></a><!-- doxytag: member="glm::diskInertia3" ref="gaf5b8bbd637c24ab86bbfd829cc5d9572" 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="gab55a80aba6d32b4aef39b732845b077d"></a><!-- doxytag: member="glm::diskInertia4" ref="gab55a80aba6d32b4aef39b732845b077d" 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="gab230e5c03234daebcd4925b86c825196"></a><!-- doxytag: member="glm::sphereInertia3" ref="gab230e5c03234daebcd4925b86c825196" 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="gaee9d1052adc7fcccfd4e6ab9dd32405e"></a><!-- doxytag: member="glm::sphereInertia4" ref="gaee9d1052adc7fcccfd4e6ab9dd32405e" 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.3 </small></address>
|
|
</body>
|
|
</html>
|