Searched refs:isect_u (Results 1 – 1 of 1) sorted by relevance
236 GREAL isect_u[] = {up_e0.dot(edge_edge_dir),up_e1.dot(edge_edge_dir)}; in cross_line_intersection_test() local239 sort_isect(isect_u[0],isect_u[1],tu_e0,tu_e1,up_e0,up_e1); in cross_line_intersection_test()242 const GREAL midpoint_u = 0.5f*(isect_u[0]+isect_u[1]); // midpoint in cross_line_intersection_test()247 if(isect_u[1]>=isect_v[1]) // face U casts face V in cross_line_intersection_test()251 else if(isect_v[0]<=isect_u[0]) // face V casts face U in cross_line_intersection_test()260 if(isect_u[1]+ MIN_EDGE_EDGE_DIS<isect_v[0]) //calc distance between two lines instead in cross_line_intersection_test()274 distances[2] = isect_v[0]-isect_u[1];//distance negative in cross_line_intersection_test()281 if(isect_v[1]>=isect_u[1]) // face V casts face U in cross_line_intersection_test()285 else if(isect_u[0]<=isect_v[0]) // face U casts face V in cross_line_intersection_test()294 if(isect_v[1]+MIN_EDGE_EDGE_DIS<isect_u[0]) //calc distance between two lines instead in cross_line_intersection_test()[all …]