Difference between revisions of "LlAtan2"

From Second Life Wiki
Jump to: navigation, search
m (LSL llAtan2 moved to LlAtan2)
Line 1: Line 1:
 
{{LSL_Function
 
{{LSL_Function
|sort=Atan2
+
|sort=Atan2|func=llAtan2
|func=llAtan2
+
|func_id=3|func_sleep=0.0|func_energy=10.0
|func_id=3
+
|func_sleep=0.0
+
|func_energy=10.0
+
 
|func_footnote=Similar to the arctangent(y/x) except it utilizes the signs of x & y to determine the quadrant.
 
|func_footnote=Similar to the arctangent(y/x) except it utilizes the signs of x & y to determine the quadrant.
|p1_type=float
+
|p1_type=float|p1_name=y|p1_desc
|p1_name=y
+
|p2_type=float|p2_name=x|p2_desc
|p1_desc
+
|p2_type=float
+
|p2_name=x
+
|p2_desc
+
 
|return_type=float
 
|return_type=float
 
|return_text=that is the arctangent2 of y, x.
 
|return_text=that is the arctangent2 of y, x.
 
|spec
 
|spec
 
|caveats
 
|caveats
 +
|constants
 
|examples
 
|examples
 
|helpers
 
|helpers
 
|also_functions=
 
|also_functions=
*{{LSLG|llAcos}}
+
{{LSL DefineRow||{{LSLG|llAcos}}|}}
*{{LSLG|llAcos}}
+
{{LSL DefineRow||{{LSLG|llAcos}}|}}
 
|also_articles=
 
|also_articles=
*{{wikipedia|Atan2}}
+
{{LSL DefineRow||{{wikipedia|Atan2}}|}}
*{{wikipedia|Inverse_trigonometric_function}}
+
{{LSL DefineRow||{{wikipedia|Inverse_trigonometric_function}}|}}
 
|notes
 
|notes
 +
|cat=Math/Trigonometry
 +
|cat
 +
|cat
 +
|cat
 
}}
 
}}
 
[[Category:LSL_Stub]]
 
[[Category:LSL_Math/Trigonometry]]
 

Revision as of 11:46, 25 February 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

•  llAcos
•  llAcos

Articles

•  Wikipedia:Atan2
•  Wikipedia:Inverse_trigonometric_function

Deep Notes

Search JIRA for related Issues

Signature

function float llAtan2( float y, float x );