1 #ifndef BT_CONTACT_H_STRUCTS_INCLUDED 2 #define BT_CONTACT_H_STRUCTS_INCLUDED 35 #define NORMAL_CONTACT_AVERAGE 1 37 #define CONTACT_DIFF_EPSILON 0.00001f 65 btScalar depth,
int feature1,
int feature2):
80 (int)(
m_point[2]*2133.0f+3.0f)};
82 unsigned int *_uitmp = (
unsigned int *)(&_coords[0]);
85 _hash += (*_uitmp)<<4;
87 _hash += (*_uitmp)<<8;
94 for(
int i=0;i<normal_count;i++)
96 vec_sum += normals[i];
109 #endif // BT_CONTACT_H_STRUCTS_INCLUDED
btScalar length2() const
Return the length of the vector squared.
btScalar btSqrt(btScalar y)
#define SIMD_FORCE_INLINE
btVector3 can be used to represent 3D points and vectors.
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...