LlAcos/fr: Difference between revisions
< LlAcos
m Big proofreading |
m fix |
||
| Line 3: | Line 3: | ||
|func=llAcos|sort=Acos | |func=llAcos|sort=Acos | ||
|return_type=float | |return_type=float | ||
|p1_type=float|p1_name=val|p1_desc=val doit être dans l'intervalle [-1.0, 1.0]. (-1.0 | |p1_type=float|p1_name=val|p1_desc=val doit être dans l'intervalle [-1.0, 1.0]. (-1.0 <{{=}} '''val''' <{{=}} 1.0) | ||
|return_text=correspondant à l’arc cosinus en radians de '''val''' | |return_text=correspondant à l’arc cosinus en radians de '''val''' | ||
|spec|caveats|func_footnote | |spec|caveats|func_footnote | ||
Revision as of 13:49, 16 November 2008
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: float llAcos( float val );| 172 | N° de fonction |
| 0.0 | Delais |
| 10.0 | Energie |
Renvoie un float correspondant à l’arc cosinus en radians de val
| • float | val | – | val doit être dans l'intervalle [-1.0, 1.0]. (-1.0 <= val <= 1.0) |
Exemples
<lsl>// Touchez l’objet contenant ce script pour voir l’arc cosinus de nombres aléatoires ! default {
touch_start(integer num)
{
float r = llFrand(2) - 1.0;
llOwnerSay("L’arc cosinus de " + (string) r + " est " + llAcos(r));
}
}</lsl>
Voir également
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.