LlAtan2/fr
< LlAtan2
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: float llAtan2( float y, float x );| 3 | N° de fonction |
| 0.0 | Delais |
| 10.0 | Energie |
Renvoie un float correspondant à l’Error creating thumbnail: Unable to save thumbnail to destination arctangente2 de y, x.
| • float | y | |||
| • float | x |
Semblable à arctangente(y/x), sauf qu'elle utilise le signe de x et de y pour déterminer le quadrant. Renvoie zero si x et y sont nuls.
Exemples
<lsl> default {
state_entry()
{
float num1 = llFrand(100.0);
float num2 = llFrand(100.0);
llOwnerSay("y = " + (string) num1);
llOwnerSay("x = " + (string) num2);
llOwnerSay("L'arc tangente de y divisé par x est " + (string) llAtan2(num1, num2));
}
} </lsl>
Voir également
Fonctions
| • llSin | llAsin | – | Sinus et arc sinus | |
| • llCos | llAcos | – | Cosinus et arc cosinus | |
| • llTan | – | Tangente |
Articles
| • | Error creating thumbnail: Unable to save thumbnail to destination Atan2 | – | Article sur l’arctangente2 | |
| • | Error creating thumbnail: Unable to save thumbnail to destination Inverse_trigonometric_function | – | Article sur les fonctions trigonométriques réciproques |
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.