Blender V4.3
btTriangleShapeEx Class Reference

Helper class for colliding Bullet Triangle Shapes. More...

#include <btTriangleShapeEx.h>

Inherits btTriangleShape.

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ btTriangleShapeEx() [1/3]

btTriangleShapeEx::btTriangleShapeEx ( )
inline

Definition at line 129 of file btTriangleShapeEx.h.

◆ btTriangleShapeEx() [2/3]

btTriangleShapeEx::btTriangleShapeEx ( const btVector3 & p0,
const btVector3 & p1,
const btVector3 & p2 )
inline

Definition at line 133 of file btTriangleShapeEx.h.

◆ btTriangleShapeEx() [3/3]

btTriangleShapeEx::btTriangleShapeEx ( const btTriangleShapeEx & other)
inline

Definition at line 137 of file btTriangleShapeEx.h.

Member Function Documentation

◆ applyTransform()

void btTriangleShapeEx::applyTransform ( const btTransform & t)
inline

Definition at line 152 of file btTriangleShapeEx.h.

References m_vertices1.

◆ buildTriPlane()

SIMD_FORCE_INLINE void btTriangleShapeEx::buildTriPlane ( btVector4 & plane) const
inline

Definition at line 159 of file btTriangleShapeEx.h.

References cross(), dot(), and m_vertices1.

Referenced by overlap_test_conservative().

◆ getAabb()

virtual void btTriangleShapeEx::getAabb ( const btTransform & t,
btVector3 & aabbMin,
btVector3 & aabbMax ) const
inlinevirtual

Definition at line 141 of file btTriangleShapeEx.h.

References btAABB, m_collisionMargin, and m_vertices1.

◆ overlap_test_conservative()

bool btTriangleShapeEx::overlap_test_conservative ( const btTriangleShapeEx & other)

The documentation for this class was generated from the following files: