Returns an angle from a cosine
Device + Agent
Name | Type | Description |
---|---|---|
cosine | Float |
A cosine value
|
Float — the angle in radians
This function returns the arc-cosine of the passed cosine — the ratio of the adjacent side and the hypotenuse of a right-angled triangle. The arc-cosine is the angle between the adjacent side and the hypotenuse of the same triangle.
The angle is given in radians. To convert it to degrees, multiple the angle value by 180 and divide by π, represented in Squirrel by the constant PI
.