oneOverPi.js 459 B

123456789101112131415161718
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "/**\n\
  3. * A built-in GLSL floating-point constant for <code>1/pi</code>.\n\
  4. *\n\
  5. * @alias czm_oneOverPi\n\
  6. * @glslConstant\n\
  7. *\n\
  8. * @see CesiumMath.ONE_OVER_PI\n\
  9. *\n\
  10. * @example\n\
  11. * // GLSL declaration\n\
  12. * const float czm_oneOverPi = ...;\n\
  13. *\n\
  14. * // Example\n\
  15. * float pi = 1.0 / czm_oneOverPi;\n\
  16. */\n\
  17. const float czm_oneOverPi = 0.3183098861837907;\n\
  18. ";