2010-08-22 13:13:17 +00:00
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< !DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
2009-05-09 13:11:51 +00:00
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs >
2010-08-22 13:13:17 +00:00
<func >
<title > Cos</title>
<category > Arithmetics</category>
2018-03-24 22:13:08 +00:00
<version > 1.0 OC</version>
2010-08-22 13:13:17 +00:00
<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 cos(angle) * radius.</desc>
<related >
<funclink > Sin</funclink>
<funclink > Tan</funclink>
<funclink > Angle</funclink>
</related>
</func>
<author > springer</author> <date > 2002-04</date>
<author > Clonk-Karl</author> <date > 2004-09</date>
2009-05-09 13:11:51 +00:00
</funcs>