Changeset 1800 for trunk/lib/vlm-c/waypoint.c
- Timestamp:
- 09/07/10 16:16:24 (21 months ago)
- Files:
-
- 1 modified
-
trunk/lib/vlm-c/waypoint.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/vlm-c/waypoint.c
r1792 r1800 1 1 /** 2 * $Id: waypoint.c,v 1.1 2 2010-09-06 19:29:03ylafon Exp $2 * $Id: waypoint.c,v 1.13 2010-09-07 16:08:16 ylafon Exp $ 3 3 * 4 4 * (c) 2008 by Yves Lafon … … 212 212 if((wp_long1-current_longitude)*(wp_long2-current_longitude)<0){ 213 213 /* if no intersection, check if we ended up north of the gate */ 214 if (current_latitude >wp_lat1) {214 if (current_latitude < wp_lat1) { 215 215 intersect_ratio = get_waypoint_xing_ratio(prev_longitude, 216 216 current_longitude,
