OsVecMagSquare

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Add exemple)
Line 7: Line 7:
 
|description=
 
|description=
 
|additional_info=
 
|additional_info=
 +
|ossl_example=<source lang="lsl">
 +
//
 +
// osVecMagSquare Script Example
 +
//
 +
 +
default
 +
{
 +
    state_entry()
 +
    {
 +
        vector input = <1.0, 2.0, 3.0>;
 +
        llSay(PUBLIC_CHANNEL, "The square root of the magnitude of " + (string)input + " is " + (string)osVecMagSquare(input) + ".");
 +
    }
 +
}
 +
</source>
 
}}
 
}}
 
'''See Also'''
 
'''See Also'''
 
* [[osVecDistSquare]]
 
* [[osVecDistSquare]]

Revision as of 15:20, 24 November 2020

float osVecMagSquare(vector a)
No descriptions provided
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay 0 seconds
Example(s)
//
// osVecMagSquare Script Example
//
 
default
{
    state_entry()
    {
        vector input = <1.0, 2.0, 3.0>;
        llSay(PUBLIC_CHANNEL, "The square root of the magnitude of " + (string)input + " is " + (string)osVecMagSquare(input) + ".");
    }
}


See Also

Personal tools
General
About This Wiki