Blender V4.3
btGImpactMassUtil.h File Reference

Go to the source code of this file.

Functions

SIMD_FORCE_INLINE btVector3 gim_inertia_add_transformed (const btVector3 &source_inertia, const btVector3 &added_inertia, const btTransform &transform)
 
SIMD_FORCE_INLINE btVector3 gim_get_point_inertia (const btVector3 &point, btScalar mass)
 

Detailed Description

Author
Francisco Leon Najera

Definition in file btGImpactMassUtil.h.

Function Documentation

◆ gim_get_point_inertia()

SIMD_FORCE_INLINE btVector3 gim_get_point_inertia ( const btVector3 & point,
btScalar mass )

Definition at line 48 of file btGImpactMassUtil.h.

References btVector3.

Referenced by btGImpactMeshShapePart::calculateLocalInertia().

◆ gim_inertia_add_transformed()

SIMD_FORCE_INLINE btVector3 gim_inertia_add_transformed ( const btVector3 & source_inertia,
const btVector3 & added_inertia,
const btTransform & transform )

Definition at line 29 of file btGImpactMassUtil.h.

References btMatrix3x3, and btVector3.

Referenced by btGImpactCompoundShape::calculateLocalInertia().