L3DT users' wiki
Large 3D terrain generator

asin

Description

Calculate the arcsine of a sine value.

Function prototype

double asin <double:value>

Arguments

Name Type Comment
value double A sine value, the arcsine of which is to be calculated.

Return value

The arcsine of the sine value, as a double-precision angle, in radians.

Example

echo <zs:RadToDeg <zs:asin 0.5>> // asin of 0.5 should be 30 degrees

… the output of which is written to the event log by echo as:

30

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/asin.txt · Last modified: 2017/08/31 04:48 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki