Newer
Older
casic-smartcity-well-front / static / Cesium / Shaders / Builtin / Constants / oneOverPi.glsl
[wangxitong] on 8 Jul 2021 326 bytes mars3d总览
/**
 * A built-in GLSL floating-point constant for <code>1/pi</code>.
 *
 * @alias czm_oneOverPi
 * @glslConstant
 *
 * @see CesiumMath.ONE_OVER_PI
 *
 * @example
 * // GLSL declaration
 * const float czm_oneOverPi = ...;
 *
 * // Example
 * float pi = 1.0 / czm_oneOverPi;
 */
const float czm_oneOverPi = 0.3183098861837907;