OsVecMagSquare

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Add Author)
m (Change See Also)
Line 29: Line 29:
 
</source>
 
</source>
 
}}
 
}}
'''See Also'''
+
== See Also ==
 +
* [[osVecMagSquare]]
 
* [[osVecDistSquare]]
 
* [[osVecDistSquare]]

Revision as of 19:17, 5 December 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
// Author: djphil
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osVecMagSquare usage.");
    }
 
    touch_start(integer number) 
    {
        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