Blender V5.0
GIM_TRIANGLE_CONTACT Struct Reference

Structure for collision. More...

#include <btTriangleShapeEx.h>

Public Member Functions

SIMD_FORCE_INLINE void copy_from (const GIM_TRIANGLE_CONTACT &other)
 GIM_TRIANGLE_CONTACT ()
 GIM_TRIANGLE_CONTACT (const GIM_TRIANGLE_CONTACT &other)
void merge_points (const btVector4 &plane, btScalar margin, const btVector3 *points, int point_count)
 classify points that are closer

Public Attributes

btScalar m_penetration_depth
int m_point_count
btVector4 m_separating_normal
btVector3 m_points [MAX_TRI_CLIPPING]

Detailed Description

Structure for collision.

Definition at line 36 of file btTriangleShapeEx.h.

Constructor & Destructor Documentation

◆ GIM_TRIANGLE_CONTACT() [1/2]

GIM_TRIANGLE_CONTACT::GIM_TRIANGLE_CONTACT ( )
inline

Definition at line 55 of file btTriangleShapeEx.h.

Referenced by copy_from(), and GIM_TRIANGLE_CONTACT().

◆ GIM_TRIANGLE_CONTACT() [2/2]

GIM_TRIANGLE_CONTACT::GIM_TRIANGLE_CONTACT ( const GIM_TRIANGLE_CONTACT & other)
inline

Definition at line 59 of file btTriangleShapeEx.h.

References copy_from(), and GIM_TRIANGLE_CONTACT().

Member Function Documentation

◆ copy_from()

◆ merge_points()

void GIM_TRIANGLE_CONTACT::merge_points ( const btVector4 & plane,
btScalar margin,
const btVector3 * points,
int point_count )

Member Data Documentation

◆ m_penetration_depth

◆ m_point_count

◆ m_points

◆ m_separating_normal


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