From 804f3bce8ad4dfd48186f0030252067f69b62e07 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 9 Apr 2017 22:08:28 +0200 Subject: Add function to find a point for a certain offset --- geometry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geometry.h') diff --git a/geometry.h b/geometry.h index 509ec7e..049fba4 100644 --- a/geometry.h +++ b/geometry.h @@ -15,4 +15,4 @@ typedef struct { // range 0..65536 (but can extend, if normale hits line outside line segment) int dist_pl(LPoint const * p, LLine const * l, int * offs); int dist_pp(LPoint const * p0, LPoint const * p1); - +int get_x_for_y(LPoint const * p0, LPoint const * p1, int y); -- cgit v1.2.3