ellipsoidWgs84TextureCoordinates.js 258 B

123456
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "vec2 czm_ellipsoidWgs84TextureCoordinates(vec3 normal)\n\
  3. {\n\
  4. return vec2(atan(normal.y, normal.x) * czm_oneOverTwoPi + 0.5, asin(normal.z) * czm_oneOverPi + 0.5);\n\
  5. }\n\
  6. ";