Difference between revisions of "LlAtan2"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
== [[LSL_Type_float|float]] llAtan2( [[LSL_Type_float|float]] y, [[LSL_Type_float|float]] x); ==
== [[LSL_Type_float|float]] llAtan2( [[LSL_Type_float|float]] y, [[LSL_Type_float|float]] x); ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
* theta - theta in radians.
* y - .
* x - .
</div>
</div>
</div>
</div>
Line 16: Line 17:
== Specification ==
== Specification ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Returns the tangent of theta.
Returns the arctangent of y/x except it utilizes the signs of x & y to determine the quadrant.
</div>
</div>
</div>
</div>

Revision as of 01:13, 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 arctangent of y/x except it utilizes the signs of x & y to determine the quadrant.

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

[1]

Notes

Function ID: 3