Difference between revisions of "LlAtan2"

From Second Life Wiki
Jump to navigation Jump to search
Line 28: Line 28:
|examples
|examples
|helpers
|helpers
|also=[http://en.wikipedia.org/wiki/Atan2 Wikipedia - Atan2]
|also_articles=*[http://en.wikipedia.org/wiki/Atan2 Wikipedia - Atan2]
|notes
|notes
}}
}}

Revision as of 20:56, 27 January 2007

   Outdated templated used

Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.

Summary

Function: float llAtan2( float y, float x );
0.0 Forced Delay
10.0 Energy

Returns a float that is the arctangent2 of y, x.

• float y
• float x

Similar to the arctangent except it utilizes the signs of x & y to determine the quadrant.

Examples

See Also

Deep Notes

Signature

function float llAtan2( float y, float x );