24#ifndef GIMPACT_MASS_UTIL_H
25#define GIMPACT_MASS_UTIL_H
btVector3 gim_get_point_inertia(const btVector3 &point, btScalar mass)
btVector3 gim_inertia_add_transformed(const btVector3 &source_inertia, const btVector3 &added_inertia, const btTransform &transform)
const T & btMax(const T &a, const T &b)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define SIMD_FORCE_INLINE
The btMatrix3x3 class implements a 3x3 rotation matrix, to perform linear algebra in combination with...
btMatrix3x3 transpose() const
Return the transpose of the matrix.
btMatrix3x3 scaled(const btVector3 &s) const
Create a scaled copy of the matrix.
btVector3 can be used to represent 3D points and vectors.