vectorMagnitudeSqr: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(seealso)
(example)
Line 18: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_size = vectorMagnitudeSqr [0,0,2]</code> |= Example 1
|x1= <code>_sizeSqr = [[vectorMagnitudeSqr]] [0,3,4]; //25</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:17, 10 June 2014

Hover & click on the images for description

Description

Description:
Squared magnitude of a 3D vector.
Groups:
Uncategorised

Syntax

Syntax:
vectorMagnitudeSqr vector
Parameters:
vector: Array
Return Value:
Number

Examples

Example 1:
_sizeSqr = vectorMagnitudeSqr [0,3,4]; //25

Additional Information

See also:
vectorAddvectorDiffvectorCrossProductvectorDotProductvectorCosvectorMagnitudevectorMultiplyvectorDistancevectorDistanceSqrvectorDirvectorUpsetVectorDirsetVectorUpsetVectorDirAndUp

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section