Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
GIM_TRIANGLE_CONTACT Struct Reference

Structure for collision. More...

#include <btTriangleShapeEx.h>

Collaboration diagram for GIM_TRIANGLE_CONTACT:
Collaboration graph
[legend]

Public Member Functions

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 More...
 

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 38 of file btTriangleShapeEx.h.

Constructor & Destructor Documentation

GIM_TRIANGLE_CONTACT::GIM_TRIANGLE_CONTACT ( )
inline

Definition at line 57 of file btTriangleShapeEx.h.

GIM_TRIANGLE_CONTACT::GIM_TRIANGLE_CONTACT ( const GIM_TRIANGLE_CONTACT other)
inline

Definition at line 61 of file btTriangleShapeEx.h.

Member Function Documentation

void GIM_TRIANGLE_CONTACT::copy_from ( const GIM_TRIANGLE_CONTACT other)
inline

Definition at line 45 of file btTriangleShapeEx.h.

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

classify points that are closer

Definition at line 28 of file btTriangleShapeEx.cpp.

Member Data Documentation

btScalar GIM_TRIANGLE_CONTACT::m_penetration_depth

Definition at line 40 of file btTriangleShapeEx.h.

int GIM_TRIANGLE_CONTACT::m_point_count

Definition at line 41 of file btTriangleShapeEx.h.

btVector3 GIM_TRIANGLE_CONTACT::m_points[MAX_TRI_CLIPPING]

Definition at line 43 of file btTriangleShapeEx.h.

btVector4 GIM_TRIANGLE_CONTACT::m_separating_normal

Definition at line 42 of file btTriangleShapeEx.h.


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