Difference between revisions of "LlVecNorm/fr"
Jump to navigation
Jump to search
m |
m (Orthographe) |
||
Line 15: | Line 15: | ||
{ | { | ||
vector input = <1.0,2.0,3.0>; | vector input = <1.0,2.0,3.0>; | ||
llSay(0,"Le | llSay(0, "Le vecteur normalisé de " + (string) input + " est : " + (string) llVecNorm(input) ); | ||
} | } | ||
} | } |
Revision as of 08:58, 12 August 2010
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: vector llVecNorm( vector vec );13 | N° de fonction |
0.0 | Delais |
10.0 | Energie |
Renvoie un vector correspondant au vector vec normalisé (vec / llVecMag(vec)).
• vector | vec | – | N’importe quel vector valide |
Exemples
<lsl> default {
state_entry() { vector input = <1.0,2.0,3.0>; llSay(0, "Le vecteur normalisé de " + (string) input + " est : " + (string) llVecNorm(input) ); }
} </lsl>
Voir également
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.