forked from Mirrors/openclonk
41 lines
1.2 KiB
XML
41 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<func>
|
|
<title>Sin</title>
|
|
<category>Arithmetics</category>
|
|
<version>4.6.5.0 CP<extversion>4.9.5.0 CE</extversion></version>
|
|
<syntax>
|
|
<rtype>int</rtype>
|
|
<params>
|
|
<param>
|
|
<type>int</type>
|
|
<name>angle</name>
|
|
<desc>Angle in degrees</desc>
|
|
</param>
|
|
<param>
|
|
<type>int</type>
|
|
<name>radius</name>
|
|
<desc>Radius</desc>
|
|
</param>
|
|
<param>
|
|
<type>int</type>
|
|
<name>precision</name>
|
|
<desc>If specified, the angle will be divided by this value. An angle of 445° and a precision value of 10 will thus result in a more precise angle of 45,5° internally.</desc>
|
|
<optional />
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Returns sin(angle) * radius.</desc>
|
|
<related>
|
|
<funclink>Cos</funclink>
|
|
<funclink>Tan</funclink>
|
|
<funclink>Angle</funclink>
|
|
</related>
|
|
</func>
|
|
<author>springer</author><date>2002-04</date>
|
|
<author>Clonk-Karl</author><date>2004-09</date>
|
|
</funcs>
|