asinClamped

Computes Math.asin(value), but first clamps value to the range -1.0, 1.0 so that the function will never return NaN.

Return

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.

Parameters

value

The value for which to compute asin.

See also