Sha256: 0b1d5e1e2d09046268d950f6ac04b5b5a1a7d11e6138e0d1bfcb2fcb1c09ac4f
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.14.0 | app/assets/javascripts/Shaders/CentralBodyFSDepth.js |