Files
BlitzNext/_release/help/commands/2d_commands/ACos.htm
T

62 lines
1.2 KiB
HTML
Raw Normal View History

2014-12-08 12:43:20 +13:00
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>ACos# ( c# )</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
c = a number in the range -1 to +1.
<br />
<br />
It is considered to be the cosine of an angle.
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
ACos( c ) is an angle which has cosine = c.
<br />
It is in the range 0 to +180 degrees.
</td>
</tr>
</table>
<h1><a href=../2d_examples/ACos.bb>Example</a></h1>
<table>
<tr>
<td>
; ACos example
<br />
<br />
; NaN means "Not a Number", the numerical result is invalid.
<br />
<br />
Const width = 640, height = 480
<br />
<br />
Graphics width, height
<br />
<br />
<br />
Local C#, AC# ; Cos and ACos
<br />
<br />
Print " C ACos( C )"
<br />
2014-02-26 16:08:39 +13:00
Print "=================="
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
2014-12-08 12:43:20 +13:00
<br />
2014-02-26 16:08:39 +13:00
For n = -11 To 11