Newer
Older
casic-smartcity-well-front / static / Cesium / Shaders / Builtin / Constants / pi.glsl
[wangxitong] on 8 Jul 2021 294 bytes mars3d总览
/**
 * A built-in GLSL floating-point constant for <code>Math.PI</code>.
 *
 * @alias czm_pi
 * @glslConstant
 *
 * @see CesiumMath.PI
 *
 * @example
 * // GLSL declaration
 * const float czm_pi = ...;
 *
 * // Example
 * float twoPi = 2.0 * czm_pi;
 */
const float czm_pi = 3.141592653589793;