piOverTwo.glsl 326 B

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