Appearance
KBE3D / KBCore / Cesium / Math / asinClamped
函数: asinClamped()
asinClamped(
value:number):number
Computes <code>Math.asin(value)</code>, but first clamps <code>value</code> to the range [-1.0, 1.0] so that the function will never return NaN.
参数
value
number
The value for which to compute asin.
返回
number
The asin of the value if the value is in the range [-1.0, 1.0], or the asin of -1.0 or 1.0, whichever is closer, if the value is outside the range.
