LlVecNorm/fr

From Second Life Wiki

Page Principale > LlVecNorm > LlVecNorm/fr
Jump to: navigation, search

Contents

Description

Fonction: vector llVecNorm( vector vec );

Renvoie un vector correspondant au vector vec normalisé (vec / llVecMag(vec)).

• vector vec N’importe quel vector valide

Exemples

 
default
{
    state_entry()
    {
        vector input = <1.0,2.0,3.0>;
        llSay(0,"Le vector normalisé de "+(string)input+" est : "+(string)llVecNorm(input) );
    }
}
 

Voir également

Fonctions

•  llVecMag Renvoie la magnitude d’un vector
•  llVecDist Renvoie la distance entre deux vectors.
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.
In other languages