piOverThree.glsl 336 B

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