Blender V2.61 - r43446
|
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] |
Structure for collision.
Definition at line 38 of file btTriangleShapeEx.h.
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.
References copy_from().
SIMD_FORCE_INLINE void GIM_TRIANGLE_CONTACT::copy_from | ( | const GIM_TRIANGLE_CONTACT & | other | ) | [inline] |
Definition at line 45 of file btTriangleShapeEx.h.
References i, m_penetration_depth, m_point_count, m_points, and m_separating_normal.
Referenced by btPrimitiveTriangle::find_triangle_collision_clip_method(), and GIM_TRIANGLE_CONTACT().
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.
References bt_distance_point_plane(), m_penetration_depth, m_point_count, m_points, MAX_TRI_CLIPPING, and SIMD_EPSILON.
Referenced by btPrimitiveTriangle::find_triangle_collision_clip_method().
Definition at line 40 of file btTriangleShapeEx.h.
Referenced by btGImpactCollisionAlgorithm::collide_sat_triangles(), copy_from(), btPrimitiveTriangle::find_triangle_collision_clip_method(), merge_points(), and btContactArray::push_triangle_contacts().
Definition at line 41 of file btTriangleShapeEx.h.
Referenced by btGImpactCollisionAlgorithm::collide_sat_triangles(), copy_from(), btPrimitiveTriangle::find_triangle_collision_clip_method(), merge_points(), and btContactArray::push_triangle_contacts().
btVector3 GIM_TRIANGLE_CONTACT::m_points[MAX_TRI_CLIPPING] |
Definition at line 43 of file btTriangleShapeEx.h.
Referenced by btGImpactCollisionAlgorithm::collide_sat_triangles(), copy_from(), merge_points(), and btContactArray::push_triangle_contacts().
Definition at line 42 of file btTriangleShapeEx.h.
Referenced by btGImpactCollisionAlgorithm::collide_sat_triangles(), copy_from(), btPrimitiveTriangle::find_triangle_collision_clip_method(), and btContactArray::push_triangle_contacts().