<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlCos</id>
	<title>LlCos - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlCos"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlCos&amp;action=history"/>
	<updated>2026-10-25T11:12:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlCos&amp;diff=79&amp;oldid=prev</id>
		<title>Osgridadmin: /* Function: float llCos( float theta ); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlCos&amp;diff=79&amp;oldid=prev"/>
		<updated>2017-12-30T16:28:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Function: float llCos( float theta );&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: float llCos( float theta );==&lt;br /&gt;
Returns a float that is the cosine of theta. &amp;lt;br&amp;gt;&lt;br /&gt;
• float 	theta 	– 	angle expressed in radians. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
// Touch the object with this script in it to see the cosine of random numbers!&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer num)&lt;br /&gt;
    {&lt;br /&gt;
        float r = llFrand(TWO_PI);&lt;br /&gt;
        llOwnerSay(&amp;quot;The cosine of &amp;quot; + (string)r + &amp;quot; in radians or &amp;quot; + (string)(r * RAD_TO_DEG) + &amp;quot; in degrees is &amp;quot; + (string)llCos(r));&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llSin]] 	[[llAsin]] 	– 	sine &amp;amp; inverse Sine 	 &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llAcos]] 	– 	inverse cosine 	 &amp;lt;br&amp;gt;&lt;br /&gt;
• [[llTan]] 	[[llAtan2]] 	– 	tangent &amp;amp; inverse tangent 	 &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>