Home
last modified time | relevance | path

Searched refs:GUINT (Results 1 – 16 of 16) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_hash_table.h48 GUINT m_key;
60 GIM_HASH_TABLE_NODE(GUINT key, const T & data) in GIM_HASH_TABLE_NODE()
93 inline GUINT operator()( const T& a) in operator()
106 inline int operator() ( const T& a, GUINT key) in operator()
132 void gim_sort_hash_node_array(T * array, GUINT array_count) in gim_sort_hash_node_array()
153 static const GUINT gim_prime_list[GIM_NUM_PRIME] =
163 inline GUINT gim_next_prime(GUINT number) in gim_next_prime()
166 GUINT result_ind = 0; in gim_next_prime()
203 GUINT * m_hash_table;//!<
204 GUINT m_table_size;//!<
[all …]
Dgim_box_set.h47 GUINT m_index1;
48 GUINT m_index2;
58 GIM_PAIR(GUINT index1, GUINT index2) in GIM_PAIR()
72 inline void push_pair(GUINT index1,GUINT index2) in push_pair()
77 inline void push_pair_inv(GUINT index1,GUINT index2) in push_pair_inv()
97 virtual GUINT get_primitive_count() = 0;
98 virtual void get_primitive_box(GUINT prim_index ,GIM_AABB & primbox) = 0;
99 virtual void get_primitive_triangle(GUINT prim_index,GIM_TRIANGLE & triangle) = 0;
106 GUINT m_data;
113 GUINT m_left;//!< Left subtree
[all …]
Dgim_array.h49 GUINT m_size;
50 GUINT m_allocated_size;
63 inline bool resizeData(GUINT newsize) in resizeData()
87 GUINT requestsize = m_size; in growingCheck()
97 inline bool reserve(GUINT size) in reserve()
103 inline void clear_range(GUINT start_range) in clear_range()
130 gim_array(GUINT reservesize) in gim_array()
144 inline GUINT size() const in size()
149 inline GUINT max_size() const in max_size()
168 inline T * get_pointer_at(GUINT i) in get_pointer_at()
[all …]
Dgim_radixsort.h69 inline GUINT operator()( const T& a) in operator()
71 return (GUINT)a; in operator()
102 GUINT m_key;
103 GUINT m_value;
148 GIM_RSORT_TOKEN * sorted, GUINT element_count) in gim_radix_sort_rtokens()
150 GUINT i; in gim_radix_sort_rtokens()
151 GUINT b0[kHist * 3]; in gim_radix_sort_rtokens()
152 GUINT *b1 = b0 + kHist; in gim_radix_sort_rtokens()
153 GUINT *b2 = b1 + kHist; in gim_radix_sort_rtokens()
158 GUINT fi; in gim_radix_sort_rtokens()
[all …]
Dgim_contact.h58 GUINT m_feature1;//Face number
59 GUINT m_feature2;//Face number
80 GREAL depth, GUINT feature1, GUINT feature2): in GIM_CONTACT()
90 SIMD_FORCE_INLINE GUINT calc_key_contact() const in calc_key_contact()
96 GUINT _hash=0; in calc_key_contact()
97 GUINT *_uitmp = (GUINT *)(&_coords[0]); in calc_key_contact()
106 SIMD_FORCE_INLINE void interpolate_normals( btVector3 * normals,GUINT normal_count) in interpolate_normals()
109 for(GUINT i=0;i<normal_count;i++) in interpolate_normals()
133 GREAL depth, GUINT feature1, GUINT feature2) in push_contact()
146 GUINT feature1,GUINT feature2) in push_triangle_contacts()
[all …]
Dgim_box_set.cpp35 GUINT GIM_BOX_TREE::_calc_splitting_axis( in _calc_splitting_axis()
36 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT endIndex) in _calc_splitting_axis()
38 GUINT i; in _calc_splitting_axis()
42 GUINT numIndices = endIndex-startIndex; in _calc_splitting_axis()
66 GUINT GIM_BOX_TREE::_sort_and_calc_splitting_index( in _sort_and_calc_splitting_index()
67 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, in _sort_and_calc_splitting_index()
68 GUINT endIndex, GUINT splitAxis) in _sort_and_calc_splitting_index()
70 GUINT i; in _sort_and_calc_splitting_index()
71 GUINT splitIndex =startIndex; in _sort_and_calc_splitting_index()
72 GUINT numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index()
[all …]
Dgim_bitset.h44 gim_array<GUINT> m_container;
51 gim_bitset(GUINT bits_count) in gim_bitset()
60 inline bool resize(GUINT newsize) in resize()
62 GUINT oldsize = m_container.size(); in resize()
71 inline GUINT size() in size()
78 for(GUINT i = 0;i<m_container.size();++i) in set_all()
86 for(GUINT i = 0;i<m_container.size();++i) in clear_all()
92 inline void set(GUINT bit_index) in set()
102 inline char get(GUINT bit_index) in get()
113 inline void clear(GUINT bit_index) in clear()
Dgim_clip_polygon.h57 GUINT & clipped_count) in PLANE_CLIP_POLYGON_COLLECT()
59 GUINT _prevclassif = (dist0>G_EPSILON); in PLANE_CLIP_POLYGON_COLLECT()
60 GUINT _classif = (dist1>G_EPSILON); in PLANE_CLIP_POLYGON_COLLECT()
80 SIMD_FORCE_INLINE GUINT PLANE_CLIP_POLYGON_GENERIC( in PLANE_CLIP_POLYGON_GENERIC()
83 GUINT polygon_point_count, in PLANE_CLIP_POLYGON_GENERIC()
86 GUINT clipped_count = 0; in PLANE_CLIP_POLYGON_GENERIC()
98 for(GUINT _i=1;_i<polygon_point_count;_i++) in PLANE_CLIP_POLYGON_GENERIC()
130 SIMD_FORCE_INLINE GUINT PLANE_CLIP_TRIANGLE_GENERIC( in PLANE_CLIP_TRIANGLE_GENERIC()
137 GUINT clipped_count = 0; in PLANE_CLIP_TRIANGLE_GENERIC()
187 SIMD_FORCE_INLINE GUINT PLANE_CLIP_POLYGON3D( in PLANE_CLIP_POLYGON3D()
[all …]
Dgim_tri_collision.h48 GUINT m_point_count;
57 GUINT i = m_point_count; in copy_from()
79 GREAL margin, const btVector3 * points, GUINT point_count, DISTANCE_FUNC distance_func) in mergepoints_generic()
84 GUINT point_indices[MAX_TRI_CLIPPING]; in mergepoints_generic()
86 GUINT _k; in mergepoints_generic()
116 const btVector3 * points, GUINT point_count) in merge_points()
157 …SIMD_FORCE_INLINE void get_edge_plane(GUINT edge_index,const btVector3 &triangle_normal,btVector4 … in get_edge_plane()
255 GUINT _i1 = (tri_plane.closestAxis()+1)%3; in get_uv_parameters()
256 GUINT _i2 = (_i1+1)%3; in get_uv_parameters()
329 GUINT res = LINE_PLANE_COLLISION(faceplane,vDir,vPoint,pout,tparam, btScalar(0), tmax);
[all …]
Dgim_tri_collision.cpp74 GUINT &edge_index0, in compute_intervals()
75 GUINT &edge_index1) in compute_intervals()
110 SIMD_FORCE_INLINE GUINT clip_triangle( in clip_triangle()
122 GUINT clipped_count = PLANE_CLIP_TRIANGLE3D( in clip_triangle()
175 GREAL & isect0,GREAL & isect1,GUINT &e0,GUINT &e1,btVector3 & vec0,btVector3 & vec1) in sort_isect()
200 SIMD_FORCE_INLINE GUINT cross_line_intersection_test() in cross_line_intersection_test()
216 GUINT tu_e0,tu_e1;//edge indices in cross_line_intersection_test()
222 GUINT tv_e0,tv_e1;//edge indices in cross_line_intersection_test()
442 GUINT bl; in triangle_collision()
470 GUINT point_count; in triangle_collision()
Dgim_contact.cpp51 GUINT i; in merge_contacts()
64 GUINT coincident_count=0; in merge_contacts()
67 GUINT last_key = keycontacts[0].m_key; in merge_contacts()
68 GUINT key = 0; in merge_contacts()
128 for (GUINT i=1;i<contacts.size() ;i++ ) in merge_contacts_unique()
Dgim_geom_types.h63 typedef GUINT vec2ui[2];
65 typedef GUINT vec3ui[3];
67 typedef GUINT vec4ui[4];
Dgim_memory.h58 for (GUINT _i_=0;_i_<element_count ;++_i_)\
66 for (GUINT _i_=0;_i_<element_count ;++_i_)\
75 for (GUINT _i_=0;_i_<element_count ;++_i_)\
83 for (GUINT _i_=0;_i_<element_count ;++_i_)\
Dgim_math.h42 #define GUINT unsigned int macro
82 #define GIM_IR(x) ((GUINT&)(x))
128 GUINT _y = 0x5f3759df - ( GIM_IR(va) >> 1);\
Dgim_basic_geometry_operations.h98 const CLASS_POINT& point,const CLASS_PLANE * planes,GUINT plane_count) in POINT_IN_HULL()
101 for (GUINT _i = 0;_i< plane_count;++_i) in POINT_IN_HULL()
267 SIMD_FORCE_INLINE GUINT LINE_PLANE_COLLISION( in LINE_PLANE_COLLISION()
518 GUINT * order_indices) in SORT_3_INDICES()
524 GUINT i0 = (order_indices[0] + 1)%3; in SORT_3_INDICES()
525 GUINT i1 = (i0 + 1)%3; in SORT_3_INDICES()
Dgim_linear_math.h1204 GUINT __ii[4], __jj[4], __k; \