Searched refs:vec2d_subtract (Results 1 – 1 of 1) sorted by relevance
4127 vec2d_subtract(struct vec2d a, struct vec2d b) in vec2d_subtract() function4149 struct vec2d r = vec2d_subtract(line1->b, line1->a); in lines_intersect()4151 struct vec2d s = vec2d_subtract(line2->b, line2->a); in lines_intersect()4183 t = vec2d_cross_product(vec2d_subtract(q, p), s) / rxs; in lines_intersect()4184 u = vec2d_cross_product(vec2d_subtract(p, q), r) / sxr; in lines_intersect()4512 delta = vec2d_subtract(intersection, motion->a); in get_closest_border()