Newer
Older
casic-smartcity-well-front / static / Cesium / Shaders / Builtin / Constants / radiansPerDegree.glsl
[wangxitong] on 8 Jul 2021 376 bytes mars3d总览
/**
 * A built-in GLSL floating-point constant for converting degrees to radians.
 *
 * @alias czm_radiansPerDegree
 * @glslConstant
 *
 * @see CesiumMath.RADIANS_PER_DEGREE
 *
 * @example
 * // GLSL declaration
 * const float czm_radiansPerDegree = ...;
 *
 * // Example
 * float rad = czm_radiansPerDegree * deg;
 */
const float czm_radiansPerDegree = 0.017453292519943295;