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