Changeset 288
- Timestamp:
- May 29, 2011, 9:01:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/rampedEllipsoidTechnique.cpp
r287 r288 91 91 } 92 92 // Startramp 93 if(Y_startRamp<=y && y< Y_startCore) // Vertex is inside Y start ramp93 if(Y_startRamp<=y && y<=Y_startCore) // Vertex is inside Y start ramp 94 94 { 95 95 double delta_s = abs(modificationROI._lat_min-vertex_lat); … … 99 99 destination_height = dest; 100 100 } 101 if(X_startRamp<=x && x< X_startCore) // Vertex is inside X start ramp101 if(X_startRamp<=x && x<=X_startCore) // Vertex is inside X start ramp 102 102 { 103 103 double delta_s = abs(modificationROI._lon_min-vertex_lon); … … 108 108 } 109 109 // End ramp 110 if(Y_endCore<=y && y< Y_endRamp) // Vertex is inside Y end ramp110 if(Y_endCore<=y && y<=Y_endRamp) // Vertex is inside Y end ramp 111 111 { 112 112 double delta_s = abs(modificationROI._lat_max-vertex_lat); … … 116 116 destination_height = dest; 117 117 } 118 if (X_endCore<=x && x< X_endRamp) // Vertex is inside X end ramp118 if (X_endCore<=x && x<=X_endRamp) // Vertex is inside X end ramp 119 119 { 120 120 double delta_s = abs(modificationROI._lon_max-vertex_lon);
Note: See TracChangeset
for help on using the changeset viewer.