Skip to content
Snippets Groups Projects
Commit 1ccd1ef7 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Renamed local variables.

parent 958739ab
No related branches found
No related tags found
No related merge requests found
...@@ -232,11 +232,11 @@ public class SimpleTile implements Tile { ...@@ -232,11 +232,11 @@ public class SimpleTile implements Tile {
final double dLat = doubleLatitudeIndex - latitudeIndex; final double dLat = doubleLatitudeIndex - latitudeIndex;
final double dLon = doubleLongitudeIndex - longitudeIndex; final double dLon = doubleLongitudeIndex - longitudeIndex;
final double e00 = getElevationAtIndices(latitudeIndex, longitudeIndex); final double e00 = getElevationAtIndices(latitudeIndex, longitudeIndex);
final double e01 = getElevationAtIndices(latitudeIndex, longitudeIndex + 1); final double e10 = getElevationAtIndices(latitudeIndex, longitudeIndex + 1);
final double e10 = getElevationAtIndices(latitudeIndex + 1, longitudeIndex); final double e01 = getElevationAtIndices(latitudeIndex + 1, longitudeIndex);
final double e11 = getElevationAtIndices(latitudeIndex + 1, longitudeIndex + 1); final double e11 = getElevationAtIndices(latitudeIndex + 1, longitudeIndex + 1);
return (e00 * (1.0 - dLon) + dLon * e01) * (1.0 - dLat) + return (e00 * (1.0 - dLon) + dLon * e10) * (1.0 - dLat) +
(e10 * (1.0 - dLon) + dLon * e11) * dLat; (e01 * (1.0 - dLon) + dLon * e11) * dLat;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment