Searched refs:GREAL (Results 1 – 10 of 10) sorted by relevance
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | gim_tri_collision.cpp | 44 GREAL margin; 53 GREAL du[4]; 54 GREAL du0du1; 55 GREAL du0du2; 56 GREAL dv[4]; 57 GREAL dv0dv1; 58 GREAL dv0dv2; 67 const GREAL &D0, in compute_intervals() 68 const GREAL &D1, in compute_intervals() 69 const GREAL &D2, in compute_intervals() [all …]
|
D | gim_geom_types.h | 70 typedef GREAL vec2f[2]; 72 typedef GREAL vec3f[3]; 74 typedef GREAL vec4f[4]; 84 typedef GREAL mat2f[2][2]; 86 typedef GREAL mat3f[3][3]; 88 typedef GREAL mat4f[4][4]; 91 typedef GREAL quatf[4];
|
D | gim_math.h | 39 #define GREAL btScalar macro 91 #define GIM_FR(x) ((GREAL&)(x)) 127 GREAL _x = va * 0.5f;\ 141 inline GREAL gim_inv_sqrt(GREAL f) in gim_inv_sqrt() 143 GREAL r; in gim_inv_sqrt() 148 inline GREAL gim_sqrt(GREAL f) in gim_sqrt() 150 GREAL r; in gim_sqrt()
|
D | gim_clip_polygon.h | 42 inline GREAL operator()(const CLASS_PLANE & plane, const CLASS_POINT & point) in operator() 54 GREAL dist0, in PLANE_CLIP_POLYGON_COLLECT() 55 GREAL dist1, in PLANE_CLIP_POLYGON_COLLECT() 63 GREAL blendfactor = -dist0/(dist1-dist0); in PLANE_CLIP_POLYGON_COLLECT() 90 GREAL firstdist = distance_func(plane,polygon_points[0]);; in PLANE_CLIP_POLYGON_GENERIC() 97 GREAL olddist = firstdist; in PLANE_CLIP_POLYGON_GENERIC() 100 GREAL dist = distance_func(plane,polygon_points[_i]); in PLANE_CLIP_POLYGON_GENERIC() 140 GREAL firstdist = distance_func(plane,point0);; in PLANE_CLIP_TRIANGLE_GENERIC() 148 GREAL olddist = firstdist; in PLANE_CLIP_TRIANGLE_GENERIC() 149 GREAL dist = distance_func(plane,point1); in PLANE_CLIP_TRIANGLE_GENERIC()
|
D | gim_basic_geometry_operations.h | 89 GREAL _dis;\ 100 GREAL _dis; in POINT_IN_HULL() 114 GREAL _dis1,_dis2; in PLANE_CLIP_SEGMENT() 158 GREAL _dis1 = DISTANCE_PLANE_POINT(plane,s1); in PLANE_CLIP_SEGMENT2() 159 GREAL _dis2 = DISTANCE_PLANE_POINT(plane,s2); in PLANE_CLIP_SEGMENT2() 246 GREAL _dis,_dotdir; in RAY_PLANE_COLLISION() 275 GREAL _dis,_dotdir; in LINE_PLANE_COLLISION() 320 GREAL denom = VEC_DOT(d, d); in INTERSECT_PLANES() 345 GREAL _scalar = VEC_DOT(cp, _n); in CLOSEST_POINT_ON_SEGMENT() 382 GREAL det; in LINE_INTERSECTION_PARAMS() [all …]
|
D | gim_tri_collision.h | 47 GREAL m_penetration_depth; 79 GREAL margin, const btVector3 * points, GUINT point_count, DISTANCE_FUNC distance_func) in mergepoints_generic() 90 GREAL _dist = -distance_func(plane,points[_k]) + margin; in mergepoints_generic() 115 SIMD_FORCE_INLINE void merge_points(const btVector4 & plane, GREAL margin, in merge_points() 250 GREAL & u, GREAL & v) const in get_uv_parameters() 301 GREAL dist = DISTANCE_PLANE_POINT(edge_plane,point); in is_point_inside() 319 GREAL & tparam, GREAL tmax = G_REAL_INFINITY) 352 GREAL & tparam, GREAL tmax = G_REAL_INFINITY)
|
D | gim_contact.h | 56 GREAL m_depth;//Positive value indicates interpenetration 57 GREAL m_distance;//Padding not for use 80 GREAL depth, GUINT feature1, GUINT feature2): in GIM_CONTACT() 114 GREAL vec_sum_len = vec_sum.length2(); in interpolate_normals() 133 GREAL depth, GUINT feature1, GUINT feature2) in push_contact()
|
D | gim_linear_math.h | 219 GREAL _llel_ = VEC_DOT(direction, position);\ 233 GREAL _pp = VEC_DOT_2(a,a);\ 241 GREAL _pp = VEC_DOT(a,a);\ 249 GREAL _pp = VEC_DOT_4(a,a);\ 256 GREAL _pp = VEC_DOT_2(a,a);\ 264 GREAL _pp = VEC_DOT(a,a);\ 272 GREAL _pp = VEC_DOT_4(a,a);\ 289 GREAL _pp = 1.0 - a[0]*a[0] - a[1]*a[1] - a[2]*a[2];\ 296 GREAL len;\ 308 GREAL len;\ [all …]
|
D | gim_contact.cpp | 135 GREAL divide_average = 1.0f/((GREAL)contacts.size()); in merge_contacts_unique()
|
D | gim_box_collision.h | 223 GREAL margin) in GIM_AABB()
|