/dports/games/d2x/d2x-0.2.5/main/ |
H A D | inferno.h | 41 #define FIX_EPSILON 10 macro
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/main/ |
H A D | inferno.h | 48 #define FIX_EPSILON 10 macro
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/utils/ |
H A D | path2d.c | 717 if (ABS(y1)<FIX_EPSILON) arc[0] = y1 = 0; in gf_cubic_check() 718 if (ABS(y2)<FIX_EPSILON) arc[1] = y2 = 0; in gf_cubic_check() 719 if (ABS(y3)<FIX_EPSILON) arc[2] = y3 = 0; in gf_cubic_check() 720 if (ABS(y4)<FIX_EPSILON) arc[3] = y4 = 0; in gf_cubic_check() 926 if ( (ABS(x_m-x0) < FIX_EPSILON) && (ABS(y_m-y0) < FIX_EPSILON)) in gf_subdivide_cubic() 928 if ( (ABS(x3-x_m) < FIX_EPSILON) && (ABS(y3-y_m) < FIX_EPSILON)) in gf_subdivide_cubic()
|
H A D | math.c | 905 if (ABS(det) > FIX_EPSILON) { in gf_mx2d_decompose() 911 if (angle < FIX_EPSILON) { in gf_mx2d_decompose() 2100 return gf_vec_lensq(cross) > FIX_EPSILON; 2109 if (fabs(det) > FIX_EPSILON) { 2286 if (ABS(det) < FIX_EPSILON) return GF_FALSE; in gf_ray_hit_triangle() 2322 if (det < FIX_EPSILON) return GF_FALSE; 2531 if ((FIX_ONE - cosom) > FIX_EPSILON) { in gf_quat_slerp()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/utils/ |
H A D | path2d.c | 717 if (ABS(y1)<FIX_EPSILON) arc[0] = y1 = 0; in gf_cubic_check() 718 if (ABS(y2)<FIX_EPSILON) arc[1] = y2 = 0; in gf_cubic_check() 719 if (ABS(y3)<FIX_EPSILON) arc[2] = y3 = 0; in gf_cubic_check() 720 if (ABS(y4)<FIX_EPSILON) arc[3] = y4 = 0; in gf_cubic_check() 926 if ( (ABS(x_m-x0) < FIX_EPSILON) && (ABS(y_m-y0) < FIX_EPSILON)) in gf_subdivide_cubic() 928 if ( (ABS(x3-x_m) < FIX_EPSILON) && (ABS(y3-y_m) < FIX_EPSILON)) in gf_subdivide_cubic()
|
H A D | math.c | 905 if (ABS(det) > FIX_EPSILON) { in gf_mx2d_decompose() 911 if (angle < FIX_EPSILON) { in gf_mx2d_decompose() 2100 return gf_vec_lensq(cross) > FIX_EPSILON; 2109 if (fabs(det) > FIX_EPSILON) { 2286 if (ABS(det) < FIX_EPSILON) return GF_FALSE; in gf_ray_hit_triangle() 2322 if (det < FIX_EPSILON) return GF_FALSE; 2531 if ((FIX_ONE - cosom) > FIX_EPSILON) { in gf_quat_slerp()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/compositor/ |
H A D | mpeg4_timesensor.c | 127 if (TS->fraction_changed < FIX_EPSILON) TS->fraction_changed = FIX_ONE; in timesensor_update_time()
|
H A D | camera.c | 118 if (gf_vec_dot(axis, axis) < FIX_EPSILON) { in camera_get_orientation() 151 if (gf_vec_dot(tmp, tmp) < FIX_EPSILON) { in camera_get_orientation() 158 if (gf_vec_dot(tmp, tmp) < FIX_EPSILON) { in camera_get_orientation()
|
H A D | visual_manager_3d.c | 1459 if (compositor->hit_square_dist && (compositor->hit_square_dist+FIX_EPSILON<sqdist)) { in visual_3d_vrml_drawable_pick() 1805 …if ((diff_a+FIX_EPSILON<FIX_ONE) || (spec_a+FIX_EPSILON<FIX_ONE) || (emi_a+FIX_EPSILON<FIX_ONE )) { in visual_3d_setup_material() 1811 has_alpha = (mat->transparency>FIX_EPSILON) ? 1 : 0; in visual_3d_setup_material() 1813 if (mat->transparency+FIX_EPSILON>=FIX_ONE) return 0; in visual_3d_setup_material() 1863 if (emi_a<FIX_EPSILON) return 0; in visual_3d_setup_material() 1864 else if (emi_a+FIX_EPSILON<FIX_ONE) visual_3d_set_state(tr_state->visual, V3D_STATE_BLEND, 1); in visual_3d_setup_material()
|
H A D | mpeg4_sound.c | 113 Fixed k = (ABS(pos.z) >= FIX_EPSILON) ? gf_divfix(pos.x, pos.z) : 0; in snd_compute_gain()
|
H A D | mesh.c | 1273 smooth_normals = (!has_normal && coord && (creaseAngle > FIX_EPSILON)) ? 1 : 0; in mesh_new_ifs_intern() 1509 smooth_normals = (!has_normal && (eg->creaseAngle > FIX_EPSILON)) ? 1 : 0; in mesh_new_elevation_grid() 1749 #define NEAR_ZERO(__x) (ABS(__x)<=FIX_EPSILON) 1894 if (spine_vec.x >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; in mesh_extrude_path_intern() 1895 else if (spine_vec.x <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; in mesh_extrude_path_intern() 1923 if (spine_vec.z >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; in mesh_extrude_path_intern() 1924 else if (spine_vec.z <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; in mesh_extrude_path_intern()
|
H A D | mpeg4_grouping_3d.c | 257 if (axis_len<FIX_EPSILON) { in TraverseBillboard()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/compositor/ |
H A D | mpeg4_timesensor.c | 127 if (TS->fraction_changed < FIX_EPSILON) TS->fraction_changed = FIX_ONE; in timesensor_update_time()
|
H A D | camera.c | 118 if (gf_vec_dot(axis, axis) < FIX_EPSILON) { in camera_get_orientation() 151 if (gf_vec_dot(tmp, tmp) < FIX_EPSILON) { in camera_get_orientation() 158 if (gf_vec_dot(tmp, tmp) < FIX_EPSILON) { in camera_get_orientation()
|
H A D | visual_manager_3d.c | 1459 if (compositor->hit_square_dist && (compositor->hit_square_dist+FIX_EPSILON<sqdist)) { in visual_3d_vrml_drawable_pick() 1805 …if ((diff_a+FIX_EPSILON<FIX_ONE) || (spec_a+FIX_EPSILON<FIX_ONE) || (emi_a+FIX_EPSILON<FIX_ONE )) { in visual_3d_setup_material() 1811 has_alpha = (mat->transparency>FIX_EPSILON) ? 1 : 0; in visual_3d_setup_material() 1813 if (mat->transparency+FIX_EPSILON>=FIX_ONE) return 0; in visual_3d_setup_material() 1863 if (emi_a<FIX_EPSILON) return 0; in visual_3d_setup_material() 1864 else if (emi_a+FIX_EPSILON<FIX_ONE) visual_3d_set_state(tr_state->visual, V3D_STATE_BLEND, 1); in visual_3d_setup_material()
|
H A D | mpeg4_sound.c | 113 Fixed k = (ABS(pos.z) >= FIX_EPSILON) ? gf_divfix(pos.x, pos.z) : 0; in snd_compute_gain()
|
H A D | mesh.c | 1273 smooth_normals = (!has_normal && coord && (creaseAngle > FIX_EPSILON)) ? 1 : 0; in mesh_new_ifs_intern() 1509 smooth_normals = (!has_normal && (eg->creaseAngle > FIX_EPSILON)) ? 1 : 0; in mesh_new_elevation_grid() 1749 #define NEAR_ZERO(__x) (ABS(__x)<=FIX_EPSILON) 1894 if (spine_vec.x >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; in mesh_extrude_path_intern() 1895 else if (spine_vec.x <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; in mesh_extrude_path_intern() 1923 if (spine_vec.z >= FIX_ONE-FIX_EPSILON) alpha = GF_PI2; in mesh_extrude_path_intern() 1924 else if (spine_vec.z <= -FIX_ONE+FIX_EPSILON) alpha = -GF_PI2; in mesh_extrude_path_intern()
|
H A D | mpeg4_grouping_3d.c | 257 if (axis_len<FIX_EPSILON) { in TraverseBillboard()
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/gpac/ |
H A D | math.h | 79 #define FIX_EPSILON 2 macro 125 #define FIX_EPSILON GF_EPSILON_FLOAT
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/include/gpac/ |
H A D | maths.h | 77 #define FIX_EPSILON 2 macro 123 #define FIX_EPSILON GF_EPSILON_FLOAT
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/include/gpac/ |
H A D | maths.h | 77 #define FIX_EPSILON 2 macro 123 #define FIX_EPSILON GF_EPSILON_FLOAT
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/scenegraph/ |
H A D | vrml_interpolators.c | 37 Bool stzero = ( ABS(kv1.q) < FIX_EPSILON) ? 1 : 0; in gf_sg_sfrotation_interpolate() 38 Bool endzero = ( ABS(kv2.q) < FIX_EPSILON) ? 1 : 0; in gf_sg_sfrotation_interpolate() 78 if (ABS(keyDiff) < FIX_EPSILON) return 0; in GetInterpolateFraction()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/scenegraph/ |
H A D | vrml_interpolators.c | 37 Bool stzero = ( ABS(kv1.q) < FIX_EPSILON) ? 1 : 0; in gf_sg_sfrotation_interpolate() 38 Bool endzero = ( ABS(kv2.q) < FIX_EPSILON) ? 1 : 0; in gf_sg_sfrotation_interpolate() 78 if (ABS(keyDiff) < FIX_EPSILON) return 0; in GetInterpolateFraction()
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/ |
H A D | cone.c | 49 #define FIX_EPSILON (0x00000010) macro 776 while (vlist[2 * ((s_left + 1) % n) + 1] < (y - FIX_EPSILON)) in intersect_cone_sides() 779 while (vlist[2 * ((s_right + n - 1) % n) + 1] < (y - FIX_EPSILON)) in intersect_cone_sides()
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/ |
H A D | math.c | 908 if (ABS(det) > FIX_EPSILON) { in gf_mx2d_decompose() 914 if (angle < FIX_EPSILON) { in gf_mx2d_decompose() 1980 return gf_vec_lensq(cross) > FIX_EPSILON; in gf_plane_exists_intersection() 2003 if (fabs(det) > FIX_EPSILON) { in gf_plane_intersect_plane() 2184 if (ABS(det) < FIX_EPSILON) return GF_FALSE; in gf_ray_hit_triangle() 2220 if (det < FIX_EPSILON) return GF_FALSE; in gf_ray_hit_triangle_backcull() 2432 if ((FIX_ONE - cosom) > FIX_EPSILON) { in gf_quat_slerp()
|