Sha256: c469bbe7419995d9f3523d3d58b3975c3c8e5309789bbc5199a1ad09b941dc49
Contents?: true
Size: 748 Bytes
Versions: 4
Compression:
Stored size: 748 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "float czm_latitudeToWebMercatorFraction(float latitude, float southMercatorYLow, float southMercatorYHigh, float oneOverMercatorHeight)\n\ {\n\ float sinLatitude = sin(latitude);\n\ float mercatorY = 0.5 * log((1.0 + sinLatitude) / (1.0 - sinLatitude));\n\ float t1 = 0.0 - southMercatorYLow;\n\ float e = t1 - 0.0;\n\ float t2 = ((-southMercatorYLow - e) + (0.0 - (t1 - e))) + mercatorY - southMercatorYHigh;\n\ float highDifference = t1 + t2;\n\ float lowDifference = t2 - (highDifference - t1);\n\ return highDifference * oneOverMercatorHeight + lowDifference * oneOverMercatorHeight;\n\ }\n\ "; });
Version data entries
4 entries across 4 versions & 1 rubygems