twoPi.glsl 303 B

12345678910111213141516
  1. /**
  2. * A built-in GLSL floating-point constant for <code>2pi</code>.
  3. *
  4. * @alias czm_twoPi
  5. * @glslConstant
  6. *
  7. * @see CesiumMath.TWO_PI
  8. *
  9. * @example
  10. * // GLSL declaration
  11. * const float czm_twoPi = ...;
  12. *
  13. * // Example
  14. * float pi = czm_twoPi / 2.0;
  15. */
  16. const float czm_twoPi = 6.283185307179586;