Searched refs:isect_v (Results 1 – 1 of 1) sorted by relevance
237 GREAL isect_v[] = {vp_e0.dot(edge_edge_dir),vp_e1.dot(edge_edge_dir)}; in cross_line_intersection_test() local240 sort_isect(isect_v[0],isect_v[1],tv_e0,tv_e1,vp_e0,vp_e1); in cross_line_intersection_test()243 const GREAL midpoint_v = 0.5f*(isect_v[0]+isect_v[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 …]