Difference between revisions of "LlAtan2"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
|p2_type=float|p2_name=x|p2_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 {{wikipedia|Atan2|arctangent2}} of y, x. | ||
|spec | |spec | ||
|caveats | |caveats | ||
Line 19: | Line 19: | ||
{{LSL DefineRow||{{wikipedia|Inverse_trigonometric_function}}|}} | {{LSL DefineRow||{{wikipedia|Inverse_trigonometric_function}}|}} | ||
|notes | |notes | ||
| | |cat1=Math/Trigonometry | ||
| | |cat2 | ||
| | |cat3 | ||
| | |cat4 | ||
}} | }} |
Revision as of 12:47, 25 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llAtan2( float y, float x );3 | Function ID |
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(y/x) except it utilizes the signs of x & y to determine the quadrant.