1
0
forked from Rowland/EG
EG/Cesium-1.132/packages/engine/Source/Shaders/Builtin/Constants/degreesPerRadian.js
2025-08-25 17:48:13 +08:00

19 lines
506 B
JavaScript

//This file is automatically rebuilt by the Cesium build process.
export default "/**\n\
* A built-in GLSL floating-point constant for converting radians to degrees.\n\
*\n\
* @alias czm_degreesPerRadian\n\
* @glslConstant\n\
*\n\
* @see CesiumMath.DEGREES_PER_RADIAN\n\
*\n\
* @example\n\
* // GLSL declaration\n\
* const float czm_degreesPerRadian = ...;\n\
*\n\
* // Example\n\
* float deg = czm_degreesPerRadian * rad;\n\
*/\n\
const float czm_degreesPerRadian = 57.29577951308232;\n\
";