package
Version:
v0.0.0-...-9c08f4d
Opens a new window with list of versions in this module.
Published: Jul 25, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Cone(mass, radius, height float32) glm.Mat3
-
func Continuous(ix, iy, iz, ixy, ixz, iyz float32) glm.Vec3
-
func Cuboid(mass, dx, dy, dz float32) glm.Mat3
-
func Cylinder(mass, radius, height float32) glm.Mat3
-
func Sphere(mass, radius float32) glm.Mat3
Cone returns the inertia tensor of a cone whose principal axe is along the Z
axis.
Continuous returns a continuous inertia tensor from the given coefficients.
[ Ix , -Ixy, -Ixz]
[-Ixy, Iy , -Iyz]
[-Ixz, -Iyz, Iz]
Cuboid returns the inertiatensor of a cuboid shape. dx, dy, dz
are all full sizes as if the box was axis aligned.
Cylinder returns the inertia tensor of a cylinder whose principal axe is
along the Z axis.
Sphere returns the inertia tensor of a sphere.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.