17 lines
344 B
GLSL
17 lines
344 B
GLSL
/**
|
|
* A built-in GLSL floating-point constant for <code>1/2pi</code>.
|
|
*
|
|
* @alias czm_oneOverTwoPi
|
|
* @glslConstant
|
|
*
|
|
* @see CesiumMath.ONE_OVER_TWO_PI
|
|
*
|
|
* @example
|
|
* // GLSL declaration
|
|
* const float czm_oneOverTwoPi = ...;
|
|
*
|
|
* // Example
|
|
* float pi = 2.0 * czm_oneOverTwoPi;
|
|
*/
|
|
const float czm_oneOverTwoPi = 0.15915494309189535;
|