Changeset 288


Ignore:
Timestamp:
May 29, 2011, 9:01:48 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/TerrainTest/rampedEllipsoidTechnique.cpp

    r287 r288  
    9191                        }
    9292                        // Startramp
    93                         if(Y_startRamp<=y && y<Y_startCore) // Vertex is inside Y start ramp
     93                        if(Y_startRamp<=y && y<=Y_startCore) // Vertex is inside Y start ramp
    9494                        {
    9595                                double delta_s = abs(modificationROI._lat_min-vertex_lat);
     
    9999                                        destination_height = dest;                     
    100100                        }
    101                         if(X_startRamp<=x && x<X_startCore)     // Vertex is inside X start ramp
     101                        if(X_startRamp<=x && x<=X_startCore)    // Vertex is inside X start ramp
    102102                        {
    103103                                double delta_s = abs(modificationROI._lon_min-vertex_lon);
     
    108108                        }
    109109                        // End ramp
    110                         if(Y_endCore<=y && y<Y_endRamp)  // Vertex is inside Y end ramp
     110                        if(Y_endCore<=y && y<=Y_endRamp)  // Vertex is inside Y end ramp
    111111                        {
    112112                                double delta_s = abs(modificationROI._lat_max-vertex_lat);
     
    116116                                        destination_height = dest;
    117117                        }
    118                         if (X_endCore<=x && x<X_endRamp) // Vertex is inside X end ramp
     118                        if (X_endCore<=x && x<=X_endRamp) // Vertex is inside X end ramp
    119119                        {
    120120                                double delta_s = abs(modificationROI._lon_max-vertex_lon);
Note: See TracChangeset for help on using the changeset viewer.