degreesPerRadian.js 506 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 converting radians to degrees.\n\
  4. *\n\
  5. * @alias czm_degreesPerRadian\n\
  6. * @glslConstant\n\
  7. *\n\
  8. * @see CesiumMath.DEGREES_PER_RADIAN\n\
  9. *\n\
  10. * @example\n\
  11. * // GLSL declaration\n\
  12. * const float czm_degreesPerRadian = ...;\n\
  13. *\n\
  14. * // Example\n\
  15. * float deg = czm_degreesPerRadian * rad;\n\
  16. */\n\
  17. const float czm_degreesPerRadian = 57.29577951308232;\n\
  18. ";