Difference between revisions of "LlAtan2"

From Second Life Wiki
Jump to: navigation, search
Line 13: Line 13:
 
|helpers
 
|helpers
 
|also_functions=
 
|also_functions=
{{LSL DefineRow||{{LSLG|llAcos}}|}}
+
{{LSL DefineRow|[[llSin]]|[[llAsin]]|sine & inverse Sine}}
{{LSL DefineRow||{{LSLG|llAcos}}|}}
+
{{LSL DefineRow|[[llCos]]|[[llAcos]]|cosine & inverse cosine}}
 +
{{LSL DefineRow|[[llTan]]||tangent}}
 
|also_articles=
 
|also_articles=
 
{{LSL DefineRow||{{wikipedia|Atan2}}|}}
 
{{LSL DefineRow||{{wikipedia|Atan2}}|}}

Revision as of 19:47, 2 March 2007

Summary

Function: float llAtan2( float y, float x );

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

• float y
• float x

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

Examples

See Also

Functions

• llSin llAsin sine & inverse Sine
• llCos llAcos cosine & inverse cosine
• llTan tangent

Articles

•  Wikipedia:Atan2
•  Wikipedia:Inverse_trigonometric_function

Deep Notes

Search JIRA for related Issues

Signature

function float llAtan2( float y, float x );