17 lines
376 B
GLSL
17 lines
376 B
GLSL
/**
|
|
* 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;
|