DSDSWeb/static/js/Cesium-1.53/Source/Shaders/Builtin/Constants/radiansPerDegree.glsl

17 lines
376 B
Plaintext
Raw Normal View History

2024-07-11 18:02:47 +08:00
/**
* 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;