L3DT users' wiki
Large 3D terrain generator

atan

Description

Calculate the arctangent of a tangent value.

Function prototype

double atan <double:value>

Arguments

Name Type Comment
value double A tangent value, the arctangent of which is to be calculated.

Return value

The arctangent of the tangent value, as a double-precision angle, in radians.

Example

echo <zs:RadToDeg <zs:atan 1>> // atan of 1 should be 45 degrees

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

45

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/atan.txt · Last modified: 2017/08/31 05:18 (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