1#ifndef BT_CONTACT_H_STRUCTS_INCLUDED
2#define BT_CONTACT_H_STRUCTS_INCLUDED
34#define NORMAL_CONTACT_AVERAGE 1
36#define CONTACT_DIFF_EPSILON 0.00001f
78 unsigned int _hash = 0;
79 unsigned int *_uitmp = (
unsigned int *)(&_coords[0]);
82 _hash += (*_uitmp) << 4;
84 _hash += (*_uitmp) << 8;
91 for (
int i = 0; i < normal_count; i++)
93 vec_sum += normals[i];
96 btScalar vec_sum_len = vec_sum.length2();
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
SIMD_FORCE_INLINE btScalar btSqrt(btScalar y)
#define SIMD_FORCE_INLINE
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int