Sha256: b439e69ad540e135bafad406b31b04ca0fd9593aea7d0f3923ca544cbd5f644a
Contents?: true
Size: 675 Bytes
Versions: 3
Compression:
Stored size: 675 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "varying vec4 positionEC;\n\ \n\ void main()\n\ {\n\ // TODO: make arbitrary ellipsoid\n\ czm_ellipsoid ellipsoid = czm_getWgs84EllipsoidEC();\n\ \n\ vec3 direction = normalize(positionEC.xyz);\n\ czm_ray ray = czm_ray(vec3(0.0), direction);\n\ \n\ czm_raySegment intersection = czm_rayEllipsoidIntersectionInterval(ray, ellipsoid);\n\ if (!czm_isEmpty(intersection))\n\ {\n\ gl_FragColor = vec4(1.0, 1.0, 0.0, 1.0);\n\ }\n\ else\n\ {\n\ discard;\n\ }\n\ }"; });
Version data entries
3 entries across 3 versions & 1 rubygems