degreesPerRadian.glsl 373 B

12345678910111213141516
  1. /**
  2. * A built-in GLSL floating-point constant for converting radians to degrees.
  3. *
  4. * @alias czm_degreesPerRadian
  5. * @glslConstant
  6. *
  7. * @see CesiumMath.DEGREES_PER_RADIAN
  8. *
  9. * @example
  10. * // GLSL declaration
  11. * const float czm_degreesPerRadian = ...;
  12. *
  13. * // Example
  14. * float deg = czm_degreesPerRadian * rad;
  15. */
  16. const float czm_degreesPerRadian = 57.29577951308232;