GLM: inertia.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

inertia.hpp
Go to the documentation of this file.
1
39 #ifndef GLM_GTX_inertia
40 #define GLM_GTX_inertia
41
42 // Dependency:
43 #include "../glm.hpp"
44
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_inertia extension included")
47 #endif
48
49 namespace glm
50 {
51 /*
54
57 template <typename T, precision P>
58 detail::tmat3x3<T, P> boxInertia3(
59 T const & Mass,
60 detail::tvec3<T, P> const & Scale);
61
64 template <typename T, precision P>
65 detail::tmat4x4<T, P> boxInertia4(
66 T const & Mass,
67 detail::tvec3<T, P> const & Scale);
68
71 template <typename T, precision P>
72 detail::tmat3x3<T, P> diskInertia3(
73 T const & Mass,
74 T const & Radius);
75
78 template <typename T, precision P>
79 detail::tmat4x4<T, P> diskInertia4(
80 T const & Mass,
81 T const & Radius);
82
85 template <typename T, precision P>
86 detail::tmat3x3<T, P> ballInertia3(
87 T const & Mass,
88 T const & Radius);
89
92 template <typename T, precision P>
93 detail::tmat4x4<T, P> ballInertia4(
94 T const & Mass,
95 T const & Radius);
96
99 template <typename T, precision P>
100 detail::tmat3x3<T, P> sphereInertia3(
101 T const & Mass,
102 T const & Radius);
103
106 template <typename T, precision P>
107 detail::tmat4x4<T, P> sphereInertia4(
108 T const & Mass,
109 T const & Radius);
110 */
112 }// namespace glm
113
114 #include "inertia.inl"
115
116 #endif//GLM_GTX_inertia