Difference between revisions of "LlAtan2"

From Second Life Wiki
Jump to navigation Jump to search
Line 17: Line 17:
== Specification ==
== Specification ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Returns the arctangent of y/x except it utilizes the signs of x & y to determine the quadrant.
Returns the arctangent2 of y, x.
Similar to the arctangent except it utilizes the signs of x & y to specify the quadrant.
{|
|-
| [[LSL_Energy|Energy]]:
| 10.0
|-
| [[LSL_Sleep|Sleep]]:
| 0.0
|-
| [[LSL_Function_ID|Function ID]]:
| 3
|}
</div>
</div>
</div>
</div>

Revision as of 01:26, 25 January 2007

The correct title of this article is llAtan2. The initial letter is shown capitalized due to technical restrictions.


float llAtan2( float y, float x);

  • y - .
  • x - .

Specification

Returns the arctangent2 of y, x. Similar to the arctangent except it utilizes the signs of x & y to specify the quadrant.

Energy: 10.0
Sleep: 0.0
Function ID: 3

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

[1]

Notes

Function ID: 3