Blender
V3.3
|
Helper class for colliding Bullet Triangle Shapes. More...
#include <btTriangleShapeEx.h>
Public Member Functions | |
btTriangleShapeEx () | |
btTriangleShapeEx (const btVector3 &p0, const btVector3 &p1, const btVector3 &p2) | |
btTriangleShapeEx (const btTriangleShapeEx &other) | |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
void | applyTransform (const btTransform &t) |
SIMD_FORCE_INLINE void | buildTriPlane (btVector4 &plane) const |
bool | overlap_test_conservative (const btTriangleShapeEx &other) |
class btTriangleShapeEx: public btTriangleShape More... | |
Helper class for colliding Bullet Triangle Shapes.
This class implements a better getAabb method than the previous btTriangleShape class
Definition at line 126 of file btTriangleShapeEx.h.
|
inline |
Definition at line 129 of file btTriangleShapeEx.h.
|
inline |
Definition at line 133 of file btTriangleShapeEx.h.
|
inline |
Definition at line 137 of file btTriangleShapeEx.h.
|
inline |
Definition at line 152 of file btTriangleShapeEx.h.
References m_vertices1, and t.
|
inline |
Definition at line 159 of file btTriangleShapeEx.h.
References btVector3, blender::math::cross(), blender::math::dot(), m_vertices1, normal, and btVector4::setValue().
Referenced by overlap_test_conservative().
|
inlinevirtual |
Definition at line 141 of file btTriangleShapeEx.h.
References btAABB, btVector3, m_collisionMargin, m_vertices1, and t.
bool btTriangleShapeEx::overlap_test_conservative | ( | const btTriangleShapeEx & | other | ) |
class btTriangleShapeEx: public btTriangleShape
Definition at line 175 of file btTriangleShapeEx.cpp.
References bt_distance_point_plane(), buildTriPlane(), getMargin(), and m_vertices1.
Referenced by btGImpactCollisionAlgorithm::collide_gjk_triangles().