Oops, revert last change, displaced thresholds are included in overall
reported runway length.
This commit is contained in:
parent
1a69225101
commit
87cedc6fdb
3 changed files with 6 additions and 6 deletions
|
@ -120,7 +120,7 @@ void gen_non_precision_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start2_pct = -rwy_info.disp_thresh1 / length;
|
start2_pct = end2_pct;
|
||||||
end2_pct = start2_pct + ( part_len / length );
|
end2_pct = start2_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_b,
|
gen_runway_section( rwy_info, runway_b,
|
||||||
start2_pct, end2_pct,
|
start2_pct, end2_pct,
|
||||||
|
@ -170,7 +170,7 @@ void gen_non_precision_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start1_pct = -rwy_info.disp_thresh2 / length;
|
start1_pct = end1_pct;
|
||||||
end1_pct = start1_pct + ( part_len / length );
|
end1_pct = start1_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_a,
|
gen_runway_section( rwy_info, runway_a,
|
||||||
start1_pct, end1_pct,
|
start1_pct, end1_pct,
|
||||||
|
|
|
@ -124,7 +124,7 @@ void gen_precision_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start2_pct = -rwy_info.disp_thresh1 / length;
|
start2_pct = end2_pct;
|
||||||
end2_pct = start2_pct + ( part_len / length );
|
end2_pct = start2_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_b,
|
gen_runway_section( rwy_info, runway_b,
|
||||||
start2_pct, end2_pct,
|
start2_pct, end2_pct,
|
||||||
|
@ -174,7 +174,7 @@ void gen_precision_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start1_pct = -rwy_info.disp_thresh2 / length;
|
start1_pct = end1_pct;
|
||||||
end1_pct = start1_pct + ( part_len / length );
|
end1_pct = start1_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_a,
|
gen_runway_section( rwy_info, runway_a,
|
||||||
start1_pct, end1_pct,
|
start1_pct, end1_pct,
|
||||||
|
|
|
@ -121,7 +121,7 @@ void gen_visual_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start2_pct = -rwy_info.disp_thresh1 / length;
|
start2_pct = end2_pct;
|
||||||
end2_pct = start2_pct + ( part_len / length );
|
end2_pct = start2_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_b,
|
gen_runway_section( rwy_info, runway_b,
|
||||||
start2_pct, end2_pct,
|
start2_pct, end2_pct,
|
||||||
|
@ -171,7 +171,7 @@ void gen_visual_rwy( const TGRunway& rwy_info,
|
||||||
double tex_pct = (200.0 - part_len) / 200.0;
|
double tex_pct = (200.0 - part_len) / 200.0;
|
||||||
|
|
||||||
// starting (possibly partial chunk)
|
// starting (possibly partial chunk)
|
||||||
start1_pct = -rwy_info.disp_thresh2 / length;
|
start1_pct = end1_pct;
|
||||||
end1_pct = start1_pct + ( part_len / length );
|
end1_pct = start1_pct + ( part_len / length );
|
||||||
gen_runway_section( rwy_info, runway_a,
|
gen_runway_section( rwy_info, runway_a,
|
||||||
start1_pct, end1_pct,
|
start1_pct, end1_pct,
|
||||||
|
|
Loading…
Reference in a new issue