LlVecNorm/fr
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.