Blender
V3.3
|
Structure for collision. More...
#include <gim_tri_collision.h>
Public Member Functions | |
SIMD_FORCE_INLINE void | copy_from (const GIM_TRIANGLE_CONTACT_DATA &other) |
GIM_TRIANGLE_CONTACT_DATA () | |
GIM_TRIANGLE_CONTACT_DATA (const GIM_TRIANGLE_CONTACT_DATA &other) | |
template<typename DISTANCE_FUNC , typename CLASS_PLANE > | |
SIMD_FORCE_INLINE void | mergepoints_generic (const CLASS_PLANE &plane, GREAL margin, const btVector3 *points, GUINT point_count, DISTANCE_FUNC distance_func) |
classify points that are closer More... | |
SIMD_FORCE_INLINE void | merge_points (const btVector4 &plane, GREAL margin, const btVector3 *points, GUINT point_count) |
classify points that are closer More... | |
Public Attributes | |
GREAL | m_penetration_depth |
GUINT | m_point_count |
btVector4 | m_separating_normal |
btVector3 | m_points [MAX_TRI_CLIPPING] |
Structure for collision.
Definition at line 44 of file gim_tri_collision.h.
|
inline |
Definition at line 63 of file gim_tri_collision.h.
|
inline |
Definition at line 67 of file gim_tri_collision.h.
References copy_from().
|
inline |
Definition at line 51 of file gim_tri_collision.h.
References GUINT, m_penetration_depth, m_point_count, m_points, and m_separating_normal.
Referenced by GIM_TRIANGLE_CONTACT_DATA().
|
inline |
classify points that are closer
Definition at line 111 of file gim_tri_collision.h.
References m_separating_normal, and mergepoints_generic().
Referenced by GIM_TRIANGLE_CALCULATION_CACHE::triangle_collision().
|
inline |
classify points that are closer
Definition at line 74 of file gim_tri_collision.h.
References G_EPSILON, GREAL, GUINT, m_penetration_depth, m_point_count, m_points, and MAX_TRI_CLIPPING.
Referenced by merge_points().
GREAL GIM_TRIANGLE_CONTACT_DATA::m_penetration_depth |
Definition at line 46 of file gim_tri_collision.h.
Referenced by copy_from(), mergepoints_generic(), gim_contact_array::push_triangle_contacts(), and GIM_TRIANGLE_CALCULATION_CACHE::triangle_collision().
GUINT GIM_TRIANGLE_CONTACT_DATA::m_point_count |
Definition at line 47 of file gim_tri_collision.h.
Referenced by copy_from(), mergepoints_generic(), gim_contact_array::push_triangle_contacts(), and GIM_TRIANGLE_CALCULATION_CACHE::triangle_collision().
btVector3 GIM_TRIANGLE_CONTACT_DATA::m_points[MAX_TRI_CLIPPING] |
Definition at line 49 of file gim_tri_collision.h.
Referenced by copy_from(), mergepoints_generic(), gim_contact_array::push_triangle_contacts(), and GIM_TRIANGLE_CALCULATION_CACHE::triangle_collision().
btVector4 GIM_TRIANGLE_CONTACT_DATA::m_separating_normal |
Definition at line 48 of file gim_tri_collision.h.
Referenced by copy_from(), merge_points(), gim_contact_array::push_triangle_contacts(), and GIM_TRIANGLE_CALCULATION_CACHE::triangle_collision().