Blender  V3.3
Functions
btGImpactMassUtil.h File Reference
#include "LinearMath/btTransform.h"

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, point, and x2.

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, btVector3, transform(), and x2.

Referenced by btGImpactCompoundShape::calculateLocalInertia().