LlVecNorm/fr

From Second Life Wiki
< LlVecNorm
Revision as of 09:37, 16 February 2008 by Gally Young (talk | contribs) (Localized to french)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.