Blender
V3.3
|
#include <btCompoundFromGimpact.h>
Public Member Functions | |
MyInternalTriangleIndexCallback (btCompoundShape *colShape, const btGImpactMeshShape *meshShape, btScalar depth) | |
virtual void | internalProcessTriangleIndex (btVector3 *triangle, int partId, int triangleIndex) |
![]() | |
virtual | ~btInternalTriangleIndexCallback () |
Public Attributes | |
const btGImpactMeshShape * | m_gimpactShape |
btCompoundShape * | m_colShape |
btScalar | m_depth |
Definition at line 46 of file btCompoundFromGimpact.h.
|
inline |
Definition at line 52 of file btCompoundFromGimpact.h.
|
inlinevirtual |
Implements btInternalTriangleIndexCallback.
Definition at line 59 of file btCompoundFromGimpact.h.
References btBU_Simplex1to4(), btTransform, btVector3, blender::math::cross(), btGImpactShapeInterface::getLocalScaling(), m_colShape, m_depth, btTriangleRaycastCallback::m_from, m_gimpactShape, btTriangleRaycastCallback::m_hitFraction, btTriangleRaycastCallback::m_to, normal, btGImpactMeshShape::processAllTrianglesRay(), v1, and v2.
btCompoundShape* MyInternalTriangleIndexCallback::m_colShape |
Definition at line 49 of file btCompoundFromGimpact.h.
Referenced by internalProcessTriangleIndex().
btScalar MyInternalTriangleIndexCallback::m_depth |
Definition at line 50 of file btCompoundFromGimpact.h.
Referenced by internalProcessTriangleIndex().
const btGImpactMeshShape* MyInternalTriangleIndexCallback::m_gimpactShape |
Definition at line 48 of file btCompoundFromGimpact.h.
Referenced by internalProcessTriangleIndex().